Skip to content
Snippets Groups Projects
Commit 47b32049 authored by Reimar Döffinger's avatar Reimar Döffinger Committed by Damien Le Moal
Browse files

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: default avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
parent 6ac586f2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment