Skip to content
Commit f3d5e4f1 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Jens Axboe
Browse files

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: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 740c68a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment