fsi: core: Set slave local bus ownership during init
authorEddie James <eajames@linux.ibm.com>
Wed, 20 May 2020 18:17:07 +0000 (13:17 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 10 Sep 2020 02:52:49 +0000 (12:22 +0930)
commit196964a31cf8c4175fab28942071215e34f0a684
tree0a5be8dfeb0654995e3729e806f9aad778280f62
parentb36875a453ef8cb429f5e1064a7329b751fd0dda
fsi: core: Set slave local bus ownership during init

The driver ought to claim local bus ownership of the slave it's
communicating with.

This is for multi-master setups. The slave (in theory) will deny access
to masters who try to access the CFAM address space but who don't "own"
the bus.

As driver doesn't seem to perform any other teardown there is no need to
"un-claim" ownership at teardown. Also I'm not aware of any multi-master
setup using this driver so it shouldn't actually matter. Also, the
hardware doesn't seem to enforce this despite being required in the
specification...

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