commit | 6ac586f2e71692b46affc064cc69b8df416fe95c | [log] [tgz] |
---|---|---|
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | Tue Oct 12 08:27:45 2021 +0200 |
committer | Damien Le Moal <damien.lemoal@wdc.com> | Tue Oct 12 17:46:48 2021 +0900 |
tree | 00d1db5bdef999050b6ccb68974fd41323124267 | |
parent | f971a85439bd25dc7b4d597cf5e4e8dc7ffc884b [diff] |
libata-scsi: 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>