diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2019-01-19 07:52:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-08 06:42:53 -0700 |
commit | f3d5e4f18dba18d7c2303dda68b9dbcf5ccc05cd (patch) | |
tree | 325d873caee753bca9ee40555d84a5afcb64686c /drivers/ata/ahci_tegra.c | |
parent | 740c68a0cd42aab21ad9aaae092ff8a2215966b1 (diff) |
ata: pata_of_platform: Allow to use 16-bit wide data transfer
In some cases, the system bus can be configured for 16-bit mode,
in this case using read/write functions for 32-bit values
results in two cycles of 16 bits each, which is wrong.
This patch adds the devicetree flag to switch the driver to
use 16-bit mode for I/O transfers.
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/ahci_tegra.c')
0 files changed, 0 insertions, 0 deletions