Anatolij Gustschin
73737b8787
drivers/rtc/rtc-r9701.c: fix crash in r9701_remove()
...
If probing the RTC didn't succeed due to failed RTC register access, the
RTC device will be unregistered. Then, when removing the module
r9701_remove() causes a kernel crash while trying to unregister a not
registered RTC device. Fix this by doing RTC register access test before
RTC device registration.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-05 15:49:43 -08:00
..
2011-12-05 16:53:43 -08:00
2012-01-10 16:30:53 -08:00
2012-01-19 17:19:18 +00:00
2011-07-25 20:57:17 -07:00
2012-01-10 16:30:53 -08:00
2012-01-13 20:43:32 -08:00
2011-06-10 14:55:36 +02:00
2011-11-28 22:50:39 +08:00
2012-02-13 18:31:36 +01:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:52 -08:00
2011-04-20 18:46:56 +02:00
2011-05-06 17:41:06 -07:00
2011-06-01 19:29:39 -07:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00
2011-11-02 16:06:58 -07:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00
2011-08-10 15:54:24 -07:00
2011-09-14 18:09:37 -07:00
2011-10-31 19:31:28 -04:00
2012-01-10 16:30:53 -08:00
2011-08-26 17:26:35 -07:00
2012-01-10 16:30:53 -08:00
2011-12-13 12:26:24 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-13 20:43:32 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2011-05-06 18:02:03 -07:00
2011-10-31 19:31:28 -04:00
2012-01-10 16:30:52 -08:00
2011-08-03 14:25:20 -10:00
2011-05-06 18:02:04 -07:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00
2012-01-10 16:30:53 -08:00
2011-11-22 10:58:31 +00:00
2011-11-22 10:58:32 +00:00
2012-01-10 16:30:53 -08:00
2012-01-10 10:29:42 +08:00
2012-03-05 15:49:43 -08:00
2011-05-06 18:02:05 -07:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00
2011-05-26 17:12:33 -07:00
2012-01-10 16:30:53 -08:00
2012-01-19 17:26:26 +00:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2011-07-25 20:57:17 -07:00
2011-05-17 14:44:36 -04:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2012-01-10 16:30:53 -08:00
2011-10-31 19:31:28 -04:00