Commit b32f2a8
committed
staging: wilc1000: avoid request_irq() if interrupt is invalid
Do not request irq if the irq number wasn't passed from device tree
or it was wrongly passed.
Fixes: 57041706005ea ("staging: wilc1000: copy driver from github")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent a8d1a32 commit b32f2a8
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
0 commit comments