summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-01-15 21:37:04 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 18:19:22 +0100
commit7aae51347b21eb738dc1981df1365b57a6c5ee4e (patch)
tree672205f278c8a2a1d9cbd236621ae1743b3c23d9 /drivers/scsi/scsi_sysfs.c
parent[SCSI] pm80xx: fix problem of pm8001_work_fn reseting incorrect phy device (diff)
downloadlinux-7aae51347b21eb738dc1981df1365b57a6c5ee4e.tar.xz
linux-7aae51347b21eb738dc1981df1365b57a6c5ee4e.zip
[SCSI] sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE
Evidently some wacky USB-ATA bridges don't recognize the SYNCHRONIZE CACHE command, as shown in this email thread: http://marc.info/?t=138978356200002&r=1&w=2 The fact that we can't tell them to drain their caches shouldn't prevent the system from going into suspend. Therefore sd_sync_cache() shouldn't return an error if the device replies with an Invalid Command ASC. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Sven Neumann <s.neumann@raumfeld.com> Tested-by: Daniel Mack <zonque@gmail.com> CC: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
0 files changed, 0 insertions, 0 deletions