diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-01-11 20:51:22 +0900 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-02-14 11:02:08 +0100 |
commit | 4b085736e44dbbe69b5eea1a8a294f404678a1f4 (patch) | |
tree | 1f2ed5b8f7f6ad2feeba23c951f6ad6814a60e9c /fs | |
parent | 51af8f255bdaca6d501afc0d085b808f67b44d91 (diff) |
ata: libata-core: Do not try to set sleeping devices to standby
In ata ata_dev_power_set_standby(), check that the target device is not
sleeping. If it is, there is no need to do anything.
Fixes: aa3998dbeb3a ("ata: libata-scsi: Disable scsi device manage_system_start_stop")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions