fsi: core: Disable link when slave init fails
authorEddie James <eajames@linux.ibm.com>
Tue, 9 Jun 2020 21:39:28 +0000 (16:39 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 10 Sep 2020 02:52:48 +0000 (12:22 +0930)
commitb36875a453ef8cb429f5e1064a7329b751fd0dda
tree4f643a401a7a13fc6e5450ac7b4a88c4f8db4e69
parent04635a30dd53890fac4e926f91c4ec8619c9227b
fsi: core: Disable link when slave init fails

In the case that links don't have slaves or fail to be accessed, the
master should disable the link during the scan since it won't be using
the slave.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-core.c