Alan Stern
d8e33d97e0
SCSI: sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE
...
commit 7aae51347b21eb738dc1981df1365b57a6c5ee4e upstream.
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>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-22 16:49:20 -07:00
..
2014-04-22 16:49:20 -07:00
2013-10-31 14:48:38 +00:00
2014-03-23 21:44:10 -07:00
2013-11-19 15:53:02 -05:00
2013-10-29 12:53:07 +02:00
2014-03-06 22:06:29 -08:00
2013-11-13 17:40:34 +09:00
2014-04-03 12:02:37 -07:00
2013-12-04 11:11:49 -02:00
2013-11-14 08:51:29 +09:00
2014-04-22 16:49:20 -07:00
2014-01-08 08:33:12 -08:00
2014-03-31 10:05:13 -07:00
2013-11-14 17:19:20 -05:00
2014-04-14 06:47:22 -07:00
2013-12-30 11:55:20 +01:00
2014-01-01 14:06:23 +08:00
2013-11-07 19:24:20 +01:00
2014-03-06 22:06:29 -08:00
2014-03-06 22:06:29 -08:00
2014-02-13 13:55:27 -08:00
2014-01-29 05:06:18 -08:00
2014-03-23 21:44:10 -07:00
2013-12-29 13:35:04 -08:00
2013-12-17 11:47:40 -08:00
2014-04-03 12:02:36 -07:00
2014-03-31 10:05:13 -07:00
2014-02-22 13:34:53 -08:00
2014-03-06 22:06:25 -08:00
2014-04-03 12:02:36 -07:00
2013-11-20 13:25:04 -08:00
2014-01-10 03:06:06 +01:00
2014-03-06 22:06:26 -08:00
2014-03-23 21:44:13 -07:00
2014-04-03 12:02:35 -07:00
2014-03-06 22:06:26 -08:00
2014-03-06 22:06:29 -08:00
2014-04-14 06:47:22 -07:00
2014-01-10 14:48:07 -08:00
2013-11-07 12:13:05 +10:30
2013-11-27 11:35:47 +11:00
2014-03-23 21:44:17 -07:00
2014-03-31 10:05:14 -07:00
2013-11-15 09:32:21 +09:00
2013-11-13 12:09:26 +09:00
2014-03-06 22:06:18 -08:00
2014-03-06 22:06:24 -08:00
2014-03-31 10:05:15 -07:00
2014-03-06 22:06:25 -08:00
2014-04-14 06:47:22 -07:00
2013-11-26 11:15:12 -08:00
2014-02-22 13:34:45 -08:00
2014-02-06 11:34:01 -08:00
2014-04-22 16:49:20 -07:00
2013-11-12 16:52:17 +09:00
2013-12-10 12:53:30 -08:00
2014-03-23 21:44:07 -07:00
2014-02-06 11:34:06 -08:00
2014-03-23 21:44:20 -07:00
2014-02-22 13:34:59 -08:00
2013-12-22 01:27:51 +01:00
2013-11-13 12:09:35 +09:00
2013-11-01 11:17:57 +01:00
2014-03-23 21:43:59 -07:00
2014-03-31 10:05:15 -07:00
2013-10-29 11:28:11 +10:30
2014-02-13 13:55:46 -08:00
2013-12-18 17:35:30 +01:00
2014-04-22 16:49:20 -07:00
2014-03-23 21:44:11 -07:00
2014-04-22 16:49:20 -07:00
2014-03-23 21:44:13 -07:00
2014-03-23 21:44:08 -07:00
2014-04-22 16:49:20 -07:00
2014-02-06 11:34:00 -08:00
2014-04-22 16:49:20 -07:00
2013-11-07 11:42:15 +09:00
2014-04-03 12:02:37 -07:00
2014-04-14 06:47:21 -07:00
2014-02-13 13:55:28 -08:00
2013-12-05 13:12:39 +10:30
2014-02-22 13:34:53 -08:00
2013-11-15 09:32:21 +09:00
2013-12-10 08:48:15 +01:00
2014-04-03 12:02:35 -07:00
2013-11-14 13:41:48 +09:00
2013-11-14 13:41:48 +09:00