]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/sii8620: fix resource acquisition error handling
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 13 Jul 2020 14:43:23 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Jul 2020 07:03:44 +0000 (09:03 +0200)
commit64652bc46a02e088a2515d13b0e491f341428bc8
tree2701260f22d698aba74dcfffb023540073812079
parentaaae81aebf115c675303e41d87b5ed7c07b6b252
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>
drivers/gpu/drm/bridge/sil-sii8620.c