diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2021-10-12 08:27:46 +0200 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@wdc.com> | 2021-10-12 17:46:52 +0900 |
commit | 47b320498c3b666367097ba7c678bca7880a97b5 (patch) | |
tree | cd1c10fd299431c4163fe1d6e74767f4b4a8ac8c /scripts/gcc-plugins | |
parent | 6ac586f2e71692b46affc064cc69b8df416fe95c (diff) |
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>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions