Damien Le Moal
9cec467d05
ata: libata-core: Do not call ata_dev_power_set_standby() twice
...
For regular system shutdown, ata_dev_power_set_standby() will be
executed twice: once the scsi device is removed and another when
ata_pci_shutdown_one() executes and EH completes unloading the devices.
Make the second call to ata_dev_power_set_standby() do nothing by using
ata_dev_power_is_active() and return if the device is already in
standby.
Fixes: 2da4c5e24e86 ("ata: libata-core: Improve ata_dev_power_set_active()")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
2024-02-21 19:09:17 +01:00
..
2023-10-10 14:42:22 +09:00
2023-03-24 19:19:19 -04:00
2023-05-15 06:49:39 +09:00
2024-02-19 10:44:37 +01:00
2023-05-15 06:49:39 +09:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:37:05 +09:00
2023-10-11 17:54:05 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:06 +09:00
2023-07-03 12:56:23 -07:00
2023-08-02 17:37:06 +09:00
2023-08-02 17:37:06 +09:00
2023-05-15 06:49:39 +09:00
2023-08-02 17:37:05 +09:00
2023-08-02 17:37:06 +09:00
2023-10-11 17:53:37 +09:00
2024-02-19 10:14:31 +01:00
2024-01-25 16:59:09 +01:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-23 10:29:26 +09:00
2023-08-02 17:37:05 +09:00
2023-10-03 09:39:49 +09:00
2022-10-18 13:53:27 +09:00
2024-02-21 19:09:17 +01:00
2023-10-13 12:46:03 +09:00
2020-03-26 10:28:19 -06:00
2022-01-05 19:33:01 +09:00
2024-01-22 22:26:03 +01:00
2023-11-24 20:44:21 -05:00
2023-10-03 09:39:49 +09:00
2023-01-04 13:36:26 +09:00
2023-09-28 21:23:14 +09:00
2019-07-29 16:00:14 -06:00
2023-10-03 09:39:49 +09:00
2023-02-22 13:35:51 -08:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:53:09 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-24 08:09:59 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-10-03 09:39:49 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-25 22:09:43 +09:00
2023-11-08 09:00:44 +09:00
2023-08-25 08:21:03 +09:00
2023-11-08 09:00:49 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-17 07:45:32 +09:00
2023-11-20 09:22:26 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:37:06 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-04-26 15:39:25 -07:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:49 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-07-28 08:52:42 +09:00
2023-07-26 08:32:21 +09:00
2023-05-15 06:49:39 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-05-15 06:49:39 +09:00
2023-11-20 09:28:25 +09:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:52 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:45:42 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:52 +09:00
2023-08-02 17:55:52 +09:00
2023-08-25 08:21:29 +09:00
2023-08-02 17:37:06 +09:00
2023-08-02 17:37:06 +09:00
2023-10-11 17:51:53 +09:00
2023-08-02 17:37:06 +09:00
2023-03-24 19:19:19 -04:00
2019-05-21 11:28:46 +02:00
2023-03-24 19:19:19 -04:00
2023-08-02 17:55:52 +09:00
2023-08-02 17:37:07 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-06-13 15:38:48 +09:00
2023-08-02 17:45:33 +09:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00
2023-03-24 19:19:19 -04:00