diff options
author | Prabhakar Kushwaha <pkushwaha@marvell.com> | 2020-01-25 06:37:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-30 07:02:15 +0300 |
commit | 10a663a1b15134a5a714aa515e11425a44d4fdf7 (patch) | |
tree | 77316510d102f161fc28e2cb08732744ffb9262f /drivers/ata/pata_arasan_cf.c | |
parent | 73e4eab0a8dacd0ad6921a1717eb38a959b53f09 (diff) | |
download | linux-10a663a1b15134a5a714aa515e11425a44d4fdf7.tar.xz |
ata: ahci: Add shutdown to freeze hardware resources of ahci
device_shutdown() called from reboot or power_shutdown expect
all devices to be shutdown. Same is true for even ahci pci driver.
As no ahci shutdown function is implemented, the ata subsystem
always remains alive with DMA & interrupt support. File system
related calls should not be honored after device_shutdown().
So defining ahci pci driver shutdown to freeze hardware (mask
interrupt, stop DMA engine and free DMA resources).
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/pata_arasan_cf.c')
0 files changed, 0 insertions, 0 deletions