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)
commit014c2abc530d7f3674c195891cef7128352453e0
treea0e769955bb33b0aa4f0230e8fdf4307a4117162
parent0cbaa44841db3d06d2a21ae4ab679882033f3dbe
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