projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d82e0
)
drm/bridge/sii8620: add missing error handling in probe
author
Andrzej Hajda
<a.hajda@samsung.com>
Wed, 22 Feb 2017 11:47:37 +0000
(12:47 +0100)
committer
Sean Paul
<seanpaul@chromium.org>
Thu, 23 Feb 2017 16:06:11 +0000
(11:06 -0500)
devm_request_threaded_irq result should be checked for errors.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link:
http://patchwork.freedesktop.org/patch/msgid/1487764057-23362-1-git-send-email-a.hajda@samsung.com
drivers/gpu/drm/bridge/sil-sii8620.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/bridge/sil-sii8620.c
b/drivers/gpu/drm/bridge/sil-sii8620.c
index cdd0a9d44ba188d236755b8aa612bec0c59442e5..2d51a2269fc610ffc705abcb7a49c1bdcaffbae9 100644
(file)
--- a/
drivers/gpu/drm/bridge/sil-sii8620.c
+++ b/
drivers/gpu/drm/bridge/sil-sii8620.c
@@
-2184,6
+2184,10
@@
static int sii8620_probe(struct i2c_client *client,
sii8620_irq_thread,
IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
"sii8620", ctx);
+ if (ret < 0) {
+ dev_err(dev, "failed to install IRQ handler\n");
+ return ret;
+ }
ctx->gpio_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
if (IS_ERR(ctx->gpio_reset)) {