Reimar Döffinger 47b320498c pata_ali: 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>
2021-10-12 17:46:52 +09:00
..
2021-06-14 08:26:54 -06:00
2021-07-10 09:22:44 -07:00
2021-10-12 17:46:52 +09:00
2021-03-26 17:13:02 -06:00