Commit a60294d
drm/bridge/sii8620: fix resource acquisition error handling
In case of error during resource acquisition driver should print error
message only in case it is not deferred probe, using dev_err_probe helper
solves the issue. Moreover it records defer probe reason for debugging.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200713144324.23654-4-a.hajda@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent d090b70 commit a60294d
1 file changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2299 | 2299 | | |
2300 | 2300 | | |
2301 | 2301 | | |
2302 | | - | |
2303 | | - | |
2304 | | - | |
2305 | | - | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
2306 | 2305 | | |
2307 | 2306 | | |
2308 | 2307 | | |
| |||
2313 | 2312 | | |
2314 | 2313 | | |
2315 | 2314 | | |
2316 | | - | |
2317 | | - | |
2318 | | - | |
2319 | | - | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2320 | 2318 | | |
2321 | 2319 | | |
2322 | | - | |
2323 | | - | |
2324 | | - | |
2325 | | - | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
2326 | 2323 | | |
2327 | 2324 | | |
2328 | 2325 | | |
| |||
0 commit comments