diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-01-11 20:51:22 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-01 13:26:31 +0100 |
commit | 287abdcb9e2b0836716655908d8f4cccd0925da8 (patch) | |
tree | 6b91be5aeb8c22c91c229749ce3bb68572baf457 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 65c5a1ba2c32dc90bf112c11151bf912d317906d (diff) |
ata: libata-core: Do not try to set sleeping devices to standby
commit 4b085736e44dbbe69b5eea1a8a294f404678a1f4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions