diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-09-20 00:52:55 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | 9c076d7e948773ac45cf1ec7ca2c7d6a5bddb8fa (patch) | |
tree | 6b97069a3d86c68b3b76e292b9932183eb3a5163 /drivers/thunderbolt | |
parent | mtd: rawnand: ams-delta: Use private structure (diff) | |
download | linux-9c076d7e948773ac45cf1ec7ca2c7d6a5bddb8fa.tar.xz linux-9c076d7e948773ac45cf1ec7ca2c7d6a5bddb8fa.zip |
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 <boris.brezillon@bootlin.com>
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions