diff options
author | 2021-10-12 08:27:47 +0200 | |
---|---|---|
committer | 2021-10-12 17:46:55 +0900 | |
commit | 2367ad63a1314f861dcd66c50d6e5508bb1edac1 (patch) | |
tree | c965611cdc3e8157e58a959c2c830fc74792b30c /drivers/fpga/fpga-mgr.c | |
parent | pata_ali: fix checking of DMA state (diff) | |
download | linux-dev-2367ad63a1314f861dcd66c50d6e5508bb1edac1.tar.xz linux-dev-2367ad63a1314f861dcd66c50d6e5508bb1edac1.zip |
pata_amd: 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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions