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:
7a456cb
)
mfd: twl4030-irq: Log an error in twl4030_sih_setup if the module cannot be found
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Thu, 25 May 2017 20:26:21 +0000
(22:26 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:11 +0000
(08:29 +0100)
As silently failing isn't that nice, emit an error message at a place
that was silent on failure up to now.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl4030-irq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/twl4030-irq.c
b/drivers/mfd/twl4030-irq.c
index b46c0cfc27d9586c946474853c1b3dd8eaaf1e92..378c02d43bf7771b0312e4cc3da6007e44500a2b 100644
(file)
--- a/
drivers/mfd/twl4030-irq.c
+++ b/
drivers/mfd/twl4030-irq.c
@@
-638,8
+638,10
@@
int twl4030_sih_setup(struct device *dev, int module, int irq_base)
}
}
- if (status < 0)
+ if (status < 0) {
+ dev_err(dev, "module to setup SIH for not found\n");
return status;
+ }
agent = kzalloc(sizeof(*agent), GFP_KERNEL);
if (!agent)