]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/fsi: Add slave & master read/write APIs
authorJeremy Kerr <jk@ozlabs.org>
Tue, 6 Jun 2017 21:08:40 +0000 (16:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:52:07 +0000 (11:52 +0200)
commitf745d0102f94214ce283ce2b228c7746ca397183
treea0e769955bb33b0aa4f0230e8fdf4307a4117162
parent7c18e7981cad8c3091ac58979c6c1c9b791e19f2
drivers/fsi: Add slave & master read/write APIs

Introduce functions to perform reads/writes on the slave address space;
these simply pass the request on the slave's master with the correct
link and slave ID.

We implement these on top of similar helpers for the master.

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