diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2021-10-12 08:27:49 +0200 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@wdc.com> | 2021-10-12 17:47:02 +0900 |
commit | 1af5f7af2484004e71d384d8b88c221fc62cd6b5 (patch) | |
tree | 28e4ef1cd856f26251fa38e8c68fb823db3431e1 /security | |
parent | 492402ce70777b2f83dd61613c8e341a36ba3cd1 (diff) |
pata_radisys: fix checking of DMA state
Checking if DMA is enabled should be done via the
ata_dma_enabled helper function, since the init state
0xff indicates disabled.
Change based on code review, not tested due to lack of hardware.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions