]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ata: libata-core: Remove ata_port_resume_async()
authorDamien Le Moal <dlemoal@kernel.org>
Mon, 4 Sep 2023 11:59:35 +0000 (20:59 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 3 Oct 2023 00:39:49 +0000 (09:39 +0900)
commit09b055cfb0e9a337938f7a47681b2203bd7b85d2
tree2ca22fff94946a7fa6c9821a6d24002b955a8295
parent6702255d700a6b41413d6701454cac320f2a9a42
ata: libata-core: Remove ata_port_resume_async()

Remove ata_port_resume_async() and replace it with a modified
ata_port_resume() taking an additional bool argument indicating if
ata EH resume operation should be executed synchronously or
asynchronously. With this change, the variable ata_port_resume_ehi is
not longer necessary and its value (ATA_EHI_XXX flags) passed directly
to ata_port_request_pm().

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ata/libata-core.c