diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2019-01-19 05:52:01 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-08 14:42:53 +0100 |
commit | f3d5e4f18dba18d7c2303dda68b9dbcf5ccc05cd (patch) | |
tree | 325d873caee753bca9ee40555d84a5afcb64686c /drivers/ata/pata_cmd640.c | |
parent | ata: add Buddha PATA controller driver (diff) | |
download | linux-f3d5e4f18dba18d7c2303dda68b9dbcf5ccc05cd.tar.xz linux-f3d5e4f18dba18d7c2303dda68b9dbcf5ccc05cd.zip |
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/pata_cmd640.c')
0 files changed, 0 insertions, 0 deletions