diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2018-05-10 12:22:05 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-12 07:05:10 +0300 |
commit | 0e82e5c1fad79ffe9d316296c7a4c1de539d0c48 (patch) | |
tree | b815704b7119f0f7f9f1c7df9a4721107697310a /mm/backing-dev.c | |
parent | 8193fb4451ceb8c6585a529556542bdeb375e0d9 (diff) | |
download | linux-0e82e5c1fad79ffe9d316296c7a4c1de539d0c48.tar.xz |
fsi/gpio: Use relative-addressing commands
FSI CFAMs support shorter commands that use a relative (or same) address
as the last. This change introduces a last_addr to the master state, and
uses it for subsequent reads/writes, and performs relative addressing
when a subsequent read/write is in range.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions