diff options
| author | Alexander Shiyan <[email protected]> | 2019-01-19 04:52:01 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-02-08 13:42:53 +0000 |
| commit | f3d5e4f18dba18d7c2303dda68b9dbcf5ccc05cd (patch) | |
| tree | 325d873caee753bca9ee40555d84a5afcb64686c /lib/error-inject.c | |
| parent | ata: add Buddha PATA controller driver (diff) | |
| download | kernel-f3d5e4f18dba18d7c2303dda68b9dbcf5ccc05cd.tar.gz kernel-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 <[email protected]>
Signed-off-by: Alexander Shiyan <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions
