]> git.baikalelectronics.ru Git - uboot.git/commit
ata: pci: enable bus mastering
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 11 Apr 2023 15:07:02 +0000 (17:07 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:28 +0000 (15:31 -0400)
commit2a96f3879c18377e879ff8ded3cefc1978222520
tree384da0827c2efe2f843e0a399962cd4c0d4f772c
parent271fb88c94eb20576ad021fb4e7dc0c3776b6d50
ata: pci: enable bus mastering

The non DM code path already would enable pci bus mastering. Do the
same for the DM code path.

Fixes AHCI problems I am seeing on an Intel Apollolake device.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[trini: Use ahci_dev not dev in the calls]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/ata/ahci.c