fpga: of-fpga-region: accept overlays that don't program FPGA
authorAlan Tull <atull@kernel.org>
Wed, 15 Nov 2017 20:20:26 +0000 (14:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 15:30:38 +0000 (16:30 +0100)
commit8a54167925341ab2a9c3133618dbddfc1a46f8aa
tree2244aa5db47f75bd5bc2801c1261b68cf548d863
parentef3acdd820752e0abb5f1ec899025967d0dccf3d
fpga: of-fpga-region: accept overlays that don't program FPGA

The FPGA may already have a static image programmed when
Linux boots.  In that case a DT overlay may be used to add
the devices that already exist.  This commit allows that
by shuffling the order of some checks.

Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/of-fpga-region.c