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-14 18:13:46 -06:00
2014-08-18 17:40:09 -04:00
2014-08-13 18:27:40 -06:00
2014-08-06 21:14:42 -07:00
2014-07-31 13:45:32 -04:00
2014-08-29 16:28:16 -07:00
2014-07-31 01:07:28 +02:00
2014-08-24 11:28:30 -07:00
2014-08-15 10:26:01 +05:30
2014-08-08 11:14:29 -07:00
2014-08-08 11:14:29 -07:00
2014-08-14 18:13:46 -06:00
2014-08-14 18:13:46 -06:00
2014-08-14 18:10:33 -06:00
2014-08-11 07:14:01 -07:00
2014-08-28 11:59:09 +05:30
2014-08-15 17:56:45 -06:00
2014-08-06 09:38:14 -07:00
2014-08-22 08:45:40 +01:00
2014-08-21 07:44:57 -05:00
2014-08-28 12:26:42 +10:00
2014-08-27 09:38:06 -07:00
2014-08-06 20:06:14 -07:00
2014-08-04 17:32:24 -07:00
2014-08-14 09:55:13 -06:00
2014-07-29 11:46:28 +03:00
2014-08-19 10:19:47 -05:00
2014-08-05 21:16:46 -07:00
2014-08-15 17:06:40 -04:00
2014-08-04 18:36:12 -07:00
2014-08-14 18:10:33 -06:00
2014-08-15 18:16:28 -06:00
2014-08-19 00:19:26 +02:00
2014-08-08 11:14:29 -07:00
2014-08-22 11:31:30 -07:00
2014-08-08 11:34:32 -07:00
2014-08-06 18:01:19 -07:00
2014-08-07 17:23:16 -07:00
2014-07-29 01:57:25 -07:00
2014-08-19 17:20:27 +10:00
2014-08-08 15:57:28 -07:00
2014-07-29 19:26:30 -05:00
2014-08-28 15:57:55 +01:00
2014-08-08 11:34:32 -07:00
2014-08-14 18:10:33 -06:00
2014-08-13 17:42:11 -06:00
2014-08-22 11:29:58 -07:00
2014-08-16 09:03:58 +01:00
2014-08-08 15:57:25 -07:00
2014-08-19 09:45:31 -05:00
2014-08-07 08:50:34 -07:00
2014-08-08 11:34:32 -07:00
2014-08-21 07:24:29 -05:00
2014-08-20 08:18:18 -07:00
2014-07-30 00:23:09 +02:00
2014-08-08 11:14:29 -07:00
2014-08-12 12:15:14 -06:00
2014-08-18 10:58:43 +02:00
2014-08-12 12:15:14 -06:00
2014-08-07 17:17:39 -07:00
2014-08-29 16:28:16 -07:00
2014-08-15 09:01:20 +02:00
2014-08-05 18:57:18 -07:00
2014-08-20 18:20:50 -05:00
2014-08-22 12:28:16 +09:00
2014-08-08 11:00:26 -07:00
2014-08-08 15:57:47 -07:00
2014-08-06 20:10:32 -07:00
2014-08-14 09:53:39 -06:00
2014-08-06 21:03:53 -07:00
2014-08-01 15:48:08 -07:00
2014-08-08 10:39:16 -06:00
2014-08-20 13:23:00 +01:00
2014-07-27 21:07:15 +09:30
2014-08-08 15:57:30 -07:00
2014-08-07 08:47:00 -07:00
2014-08-12 12:15:14 -06:00
2014-08-04 17:32:24 -07:00
2014-08-04 18:34:04 -07:00