Wei WANG
2d1484f599
mfd: rtsx: Fix oops when rtsx_pci_sdmmc is not probed
...
If rtsx_pci_sdmmc is not probed, function pointer pcr->slots[].card_event
will point to NULL, and thus rtsx_pci_card_detect will reference a NULL
pointer.
Check card_event pointer before referencing it can avoid kernel panic.
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-01-27 02:18:07 +01:00
..
2012-11-28 12:20:19 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-09-21 23:40:34 +02:00
2012-09-15 23:22:04 +02:00
2012-11-28 12:22:27 -08:00
2013-01-22 17:28:44 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2013-01-22 03:12:44 +01:00
2012-11-28 12:22:27 -08:00
2013-01-22 01:17:29 +01:00
2012-11-28 12:22:27 -08:00
2012-07-16 15:00:32 +02:00
2012-11-23 12:09:19 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-12-16 18:55:20 -08:00
2013-01-27 01:35:32 +01:00
2012-11-20 12:21:10 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2013-01-22 01:25:56 +01:00
2012-09-23 20:51:34 +02:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:20:19 -08:00
2012-09-15 23:22:04 +02:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-12-16 18:55:20 -08:00
2013-01-22 01:23:36 +01:00
2012-11-28 12:22:27 -08:00
2012-09-23 20:51:34 +02:00
2012-11-28 12:22:27 -08:00
2012-12-16 18:55:20 -08:00
2012-11-28 12:22:27 -08:00
2012-12-16 18:55:20 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2013-01-03 15:57:14 -08:00
2012-09-15 23:22:04 +02:00
2013-01-22 03:02:21 +01:00
2012-09-16 00:32:57 +02:00
2013-01-22 03:02:22 +01:00
2012-11-06 23:14:08 +01:00
2012-12-16 18:55:20 -08:00
2012-12-16 18:55:20 -08:00
2012-11-06 23:14:08 +01:00
2012-09-14 11:18:57 +02:00
2012-10-15 13:53:41 -07:00
2012-11-20 12:21:12 +01:00
2012-12-14 11:48:06 -08:00
2012-12-12 11:45:16 -08:00
2012-10-24 14:26:55 -07:00
2012-11-28 12:21:11 -08:00
2012-11-28 12:22:27 -08:00
2013-01-22 03:05:33 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-26 12:10:51 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2013-01-03 15:57:14 -08:00
2013-01-27 01:30:20 +01:00
2013-01-27 01:30:20 +01:00
2013-01-27 01:30:20 +01:00
2013-01-27 02:18:07 +01:00
2012-11-15 17:30:14 -08:00
2012-09-15 23:22:04 +02:00
2012-11-26 00:35:08 +01:00
2012-11-28 12:22:27 -08:00
2012-10-01 15:27:48 +02:00
2013-01-03 15:57:14 -08:00
2012-12-16 18:55:20 -08:00
2012-11-28 12:22:27 -08:00
2013-01-03 15:57:14 -08:00
2012-11-28 12:22:27 -08:00
2012-09-15 23:22:04 +02:00
2013-01-22 03:08:34 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2013-01-03 15:57:14 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-12-10 10:04:04 +01:00
2012-12-16 18:55:20 -08:00
2012-07-19 10:38:33 -04:00
2012-12-16 18:55:20 -08:00
2012-12-16 18:55:20 -08:00
2012-12-16 18:55:20 -08:00
2012-11-28 12:22:27 -08:00
2012-09-15 23:22:04 +02:00
2012-11-28 12:22:27 -08:00
2013-01-03 15:57:14 -08:00
2012-11-28 12:22:27 -08:00
2012-12-16 18:55:20 -08:00
2012-12-16 18:55:20 -08:00
2013-01-27 02:18:01 +01:00
2012-11-21 16:08:00 +01:00
2013-01-03 15:57:14 -08:00
2012-12-16 18:55:20 -08:00
2013-01-22 17:28:34 +01:00
2013-01-03 15:57:14 -08:00
2012-11-26 11:48:56 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:20:19 -08:00
2012-09-15 23:22:04 +02:00
2012-07-19 10:38:31 -04:00
2012-11-28 12:22:27 -08:00
2013-01-27 02:18:07 +01:00
2012-09-28 23:57:28 +02:00
2012-09-15 23:22:04 +02:00
2012-12-16 18:55:20 -08:00
2012-08-07 20:30:00 +01:00
2012-09-14 09:52:11 +02:00