fsi: core: Add check for master property no-scan-on-init
authorChristopher Bostic <cbostic@linux.vnet.ibm.com>
Mon, 12 Feb 2018 05:15:49 +0000 (15:45 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 18:11:01 +0000 (19:11 +0100)
commitf3aa2c6f98e53cffc0e26ea9868154b2d4b2c75e
treeab795924e27c734f12a8dd6a3515b28ff06dee64
parentdd7987392324960cb0184a4564b06e15c66d3f55
fsi: core: Add check for master property no-scan-on-init

Prior to scanning a master check if the optional property
no-scan-on-init is present.  If it is then avoid scanning.  This is
necessary in cases where a master scan could interfere with another
FSI master on the same bus.

Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-core.c