Bartlomiej Zolnierkiewicz
b7d5b9a968
drivers/rtc/rtc-s5m.c: re-add support for devices without irq specified
...
The rtc-s5m driver used to support devices without irq specified in the
past. Re-add this support.
The patch fixes boot for Insignal's Exynos4412 based Origen board.
Error messages before the patch:
...
Unable to handle kernel NULL pointer dereference at virtual address 00000094
pgd = c0004000
[00000094] *pgd=00000000
Internal error: Oops: 5 [#1 ] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.16.0-next-20140804-00008-ga59480f-dirty #701
task: ea80f000 ti: ea882000 task.ti: ea882000
PC is at regmap_irq_get_virq+0x0/0x28
LR is at s5m_rtc_probe+0xdc/0x310
pc : [<c02574fc>] lr : [<c02de75c>] psr: 80000153
sp : ea883e48 ip : 00000000 fp : 00000000
r10: 0000000c r9 : c05de7ac r8 : eaabc600
r7 : eaa6b4d0 r6 : c0439e8c r5 : eaabc610 r4 : eab30e50
r3 : 00000000 r2 : 00000000 r1 : 0000000c r0 : 00000000
Flags: Nzcv IRQs on FIQs off Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 4000404a DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0xea882240)
Backtrace:
regmap_irq_get_virq
s5m_rtc_probe
platform_drv_probe
driver_probe_device
__driver_attach
bus_for_each_dev
bus_add_driver
driver_register
do_one_initcall
kernel_init_freeable
kernel_init
---[ end trace a954d7f019122700 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
...
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-29 16:28:16 -07:00
..
2014-08-08 15:57:20 -07:00
2012-10-06 03:05:04 +09:00
2014-08-08 15:57:19 -07:00
2014-08-08 15:57:20 -07:00
2014-08-08 15:57:20 -07:00
2013-11-13 12:09:28 +09:00
2014-06-06 16:08:07 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:59 -07:00
2014-04-03 16:21:22 -07:00
2014-04-03 16:21:17 -07:00
2014-06-06 16:08:08 -07:00
2013-04-05 09:36:53 -07:00
2013-12-20 11:41:32 +01:00
2014-07-30 13:53:28 +02:00
2014-06-06 16:08:08 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:54 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:18 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:24 -07:00
2014-07-28 08:09:25 +01:00
2014-04-03 16:21:18 -07:00
2013-02-21 17:22:29 -08:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:59 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:20 -07:00
2014-08-08 15:57:19 -07:00
2014-04-03 16:21:23 -07:00
2013-07-03 16:07:46 -07:00
2014-04-03 16:21:17 -07:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:16 -07:00
2014-08-08 15:57:19 -07:00
2013-11-13 12:09:29 +09:00
2014-04-03 16:21:22 -07:00
2013-07-03 16:07:56 -07:00
2014-08-08 15:57:19 -07:00
2014-08-08 15:57:19 -07:00
2013-07-03 16:07:56 -07:00
2013-11-13 12:09:29 +09:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-11-15 09:32:21 +09:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:16 -07:00
2013-11-13 12:09:27 +09:00
2014-08-08 15:57:20 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:19 -07:00
2013-07-03 16:07:53 -07:00
2014-04-03 16:21:18 -07:00
2013-07-03 16:07:53 -07:00
2014-06-06 16:08:07 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-07-16 16:06:00 +09:30
2013-11-13 12:09:29 +09:00
2013-11-13 12:09:29 +09:00
2013-11-13 12:09:27 +09:00
2013-07-03 16:07:57 -07:00
2014-01-23 16:37:00 -08:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:57 -07:00
2013-07-10 11:10:27 -07:00
2014-07-21 16:54:26 +01:00
2014-04-03 16:21:23 -07:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:17 -07:00
2013-10-09 20:04:04 -05:00
2013-11-13 12:09:27 +09:00
2013-07-03 16:07:53 -07:00
2014-06-06 16:08:08 -07:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:17 -07:00
2014-06-06 16:08:09 -07:00
2014-06-06 16:08:08 -07:00
2013-07-03 16:07:51 -07:00
2013-11-13 12:09:29 +09:00
2014-01-23 16:37:00 -08:00
2014-05-06 13:04:58 -07:00
2014-08-08 15:57:20 -07:00
2013-07-16 16:06:00 +09:30
2013-04-29 18:28:38 -07:00
2014-08-08 15:57:20 -07:00
2013-11-13 12:09:31 +09:00
2013-11-13 12:09:31 +09:00
2014-04-03 16:21:23 -07:00
2013-04-09 14:13:32 -04:00
2013-07-03 16:07:58 -07:00
2014-06-20 08:22:39 +08:00
2014-06-06 16:08:09 -07:00
2013-04-29 18:28:34 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07:00
2013-11-13 12:09:29 +09:00
2013-05-07 18:38:26 -07:00
2014-04-03 16:21:24 -07:00
2013-07-03 16:07:58 -07:00
2014-04-03 16:21:18 -07:00
2014-01-23 16:37:00 -08:00
2014-04-03 16:21:24 -07:00
2013-04-19 13:51:25 +02:00
2014-08-29 16:28:16 -07:00
2013-04-29 18:28:38 -07:00
2014-06-06 16:08:09 -07:00
2013-11-13 12:09:30 +09:00
2014-04-03 16:21:19 -07:00
2013-11-13 12:09:30 +09:00
2014-04-03 16:21:18 -07:00
2013-07-03 16:07:58 -07:00
2014-04-03 16:21:24 -07:00
2013-11-13 12:09:30 +09:00
2013-07-03 16:07:58 -07:00
2014-04-03 16:21:21 -07:00
2013-07-29 13:10:58 -07:00
2013-05-18 11:57:07 +02:00
2014-04-03 16:21:16 -07:00
2013-07-03 16:07:53 -07:00
2013-06-12 16:29:45 -07:00
2014-08-08 15:57:20 -07:00
2013-07-03 16:07:58 -07:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:24 -07:00
2013-11-13 12:09:30 +09:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:19 -07:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2014-04-03 16:21:16 -07:00
2014-06-06 16:08:06 -07:00
2013-01-15 18:16:06 -08:00