Commit 51c4cfe
rtc: ds1307: fix kernel splat due to wakeup irq handling
Since commit 3fffd12 ("i2c: allow specifying
separate wakeup interrupt in device tree") we have
automatic wakeup irq support for i2c devices. That
commit missed the fact that rtc-1307 had its own
wakeup irq handling and ended up introducing a
kernel splat for at least Beagle x15 boards.
Fix that by reverting original commit _and_ passing
correct interrupt names on DTS so i2c-core can
choose correct IRQ as wakeup.
Now that we have automatic wakeirq support, we can
revert the original commit which did it manually.
Fixes the following warning:
[ 10.346582] WARNING: CPU: 1 PID: 263 at linux/drivers/base/power/wakeirq.c:43 dev_pm_attach_wake_irq+0xbc/0xd4()
[ 10.359244] rtc-ds1307 2-006f: wake irq already initialized
Cc: Tony Lindgren <tony@atomide.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>1 parent 1ec2183 commit 51c4cfe
2 files changed
Lines changed: 4 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
| 607 | + | |
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
| |||
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
120 | | - | |
121 | 117 | | |
122 | 118 | | |
123 | 119 | | |
| |||
1146 | 1142 | | |
1147 | 1143 | | |
1148 | 1144 | | |
1149 | | - | |
1150 | | - | |
1151 | 1145 | | |
1152 | 1146 | | |
1153 | 1147 | | |
1154 | 1148 | | |
1155 | 1149 | | |
1156 | 1150 | | |
1157 | 1151 | | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
| 1152 | + | |
1175 | 1153 | | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
| 1154 | + | |
| 1155 | + | |
1182 | 1156 | | |
1183 | 1157 | | |
1184 | 1158 | | |
1185 | | - | |
1186 | 1159 | | |
1187 | 1160 | | |
1188 | 1161 | | |
| |||
1226 | 1199 | | |
1227 | 1200 | | |
1228 | 1201 | | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | 1202 | | |
1233 | 1203 | | |
1234 | 1204 | | |
| |||
0 commit comments