aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <[email protected]>2018-09-20 00:52:55 +0200
committerMiquel Raynal <[email protected]>2018-10-03 11:12:25 +0200
commit9c076d7e948773ac45cf1ec7ca2c7d6a5bddb8fa (patch)
tree6b97069a3d86c68b3b76e292b9932183eb3a5163 /lib/memory-notifier-error-inject.c
parent2b44af3ad6cc5e39267791215cfef974fb3f7be5 (diff)
mtd: rawnand: ams-delta: Set port direction when needed
In its current shape, the driver sets data port direction before each byte read/write operation, even during multi-byte transfers. Improve performance of the driver by setting the port direction only when needed. This optimisation will become particularly important as soon as planned conversion of the driver to GPIO API for data I/O will be implemented. Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Janusz Krzysztofik <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions