Miklos Szeredi
9974e43d90
ide: fix generic_ide_suspend/resume Oops
...
This patch fixes a regresion introduced by commit 0998d063 (device-core: Ensure
drvdata = NULL when no driver is bound).
Suspend oopses in generic_ide_suspend() because dev_get_drvdata()
returns NULL (dev->p->driver_data == NULL) and this function is not
prepared for this.
Fix is based on Alan Stern's suggestion.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-21 14:54:42 -07:00
..
2010-01-19 01:45:29 -08:00
2012-01-13 09:32:20 +10:30
2010-01-19 01:52:31 -08:00
2010-01-19 01:52:32 -08:00
2010-01-19 01:45:29 -08:00
2011-10-24 23:34:24 +01:00
2011-10-31 19:31:37 -04:00
2010-01-19 01:52:32 -08:00
2012-01-13 09:32:20 +10:30
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:52:33 -08:00
2010-01-19 01:52:33 -08:00
2011-10-13 17:04:50 -04:00
2012-01-13 09:32:20 +10:30
2012-01-13 09:32:20 +10:30
2010-10-26 10:17:29 -07:00
2012-01-13 09:32:20 +10:30
2012-06-06 10:36:47 -07:00
2011-08-04 01:29:51 -07:00
2012-01-13 09:32:20 +10:30
2012-01-13 09:32:20 +10:30
2011-10-31 19:31:37 -04:00
2011-04-21 19:43:59 +02:00
2011-11-08 22:35:46 +01:00
2011-03-09 19:54:27 +01:00
2012-06-12 15:51:41 -07:00
2010-03-30 22:02:32 +09:00
2010-10-05 15:01:10 +02:00
2011-10-31 19:31:37 -04:00
2011-10-03 14:28:18 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2012-01-14 15:07:24 -08:00
2011-10-31 19:31:37 -04:00
2011-11-08 22:35:46 +01:00
2011-04-21 19:43:59 +02:00
2011-10-31 19:31:37 -04:00
2011-04-05 23:52:49 +02:00
2011-10-31 19:31:37 -04:00
2010-01-19 01:41:57 -08:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2011-03-10 08:52:07 +01:00
2012-01-13 09:32:20 +10:30
2012-08-21 14:54:42 -07:00
2011-10-31 19:31:37 -04:00
2010-09-13 21:34:25 -07:00
2010-03-30 22:02:32 +09:00
2011-05-16 14:24:46 -07:00
2011-11-08 22:35:46 +01:00
2012-03-20 21:48:17 +08:00
2010-01-19 11:30:09 -08:00
2011-10-31 19:31:37 -04:00
2010-08-11 23:04:39 +09:30
2010-03-30 22:02:32 +09:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2011-11-03 13:28:14 -07:00
2011-10-31 19:31:37 -04:00
2012-02-13 18:31:37 +01:00
2010-01-19 01:44:41 -08:00
2011-06-10 14:55:36 +02:00
2010-01-19 01:45:29 -08:00
2010-04-22 19:11:24 -07:00
2011-10-11 15:19:43 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2012-03-28 18:30:03 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-02 23:57:59 -08:00
2010-01-19 01:45:29 -08:00
2011-10-31 19:31:37 -04:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:52:35 -08:00
2011-03-31 11:26:23 -03:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2011-10-31 19:31:37 -04:00
2011-10-13 17:04:49 -04:00
2010-08-09 03:17:55 -07:00
2011-06-10 14:55:36 +02:00
2012-01-13 09:32:20 +10:30
2011-03-31 11:26:23 -03:00