Commit 30963b2
serial: cpm_uart: Don't request IRQ too early for console port
The following message is seen during boot and the activation of
console port gets delayed until normal serial ports activation.
[ 0.001346] irq: no irq domain found for pic@930 !
The console port doesn't need irq, perform irq reservation later,
during cpm_uart probe.
While at it, don't use NO_IRQ but 0 which is the value returned
by irq_of_parse_and_map() in case of error. By chance powerpc's
NO_IRQ has value 0 but on some architectures it is -1.
Fixes: 14d893f ("powerpc/8xx: Convert CPM1 interrupt controller to platform_device")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/8bed0f30c2e9ef16ae64fb1243a16d54a48eb8da.1664526717.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 12f3a5e commit 30963b2
1 file changed
Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | 1206 | | |
1213 | 1207 | | |
1214 | 1208 | | |
| |||
1218 | 1212 | | |
1219 | 1213 | | |
1220 | 1214 | | |
1221 | | - | |
| 1215 | + | |
1222 | 1216 | | |
1223 | 1217 | | |
1224 | 1218 | | |
| |||
1244 | 1238 | | |
1245 | 1239 | | |
1246 | 1240 | | |
1247 | | - | |
1248 | | - | |
1249 | 1241 | | |
1250 | 1242 | | |
1251 | 1243 | | |
| |||
1425 | 1417 | | |
1426 | 1418 | | |
1427 | 1419 | | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
1428 | 1424 | | |
1429 | | - | |
1430 | | - | |
| 1425 | + | |
| 1426 | + | |
1431 | 1427 | | |
1432 | | - | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
1433 | 1431 | | |
1434 | 1432 | | |
1435 | 1433 | | |
| |||
0 commit comments