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:
00a8691
)
Input: HIL - fix improper call to release_region()
author
Cyrill V. Gorcunov
<gorcunov@gmail.com>
Sun, 18 Feb 2007 06:44:02 +0000
(
01:44
-0500)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Sun, 18 Feb 2007 06:44:02 +0000
(
01:44
-0500)
Do not call release_region() if the code has been compiled
without CONFIG_HP300 support.
Signed-off-by: Cyrill V. Gorcunov <gorcunov@gmail.com>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/hilkbd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/keyboard/hilkbd.c
b/drivers/input/keyboard/hilkbd.c
index 255a6ec75a4826a66db9d630a0dbd51aa5fdfe69..4de4dc297d506b7b2d6f3d8ed9a1137324879e64 100644
(file)
--- a/
drivers/input/keyboard/hilkbd.c
+++ b/
drivers/input/keyboard/hilkbd.c
@@
-294,8
+294,10
@@
err3:
disable_irq(HIL_IRQ);
free_irq(HIL_IRQ, hil_dev.dev_id);
err2:
+#if defined(CONFIG_HP300)
release_region(HILBASE + HIL_DATA, 2);
err1:
+#endif
input_free_device(hil_dev.dev);
hil_dev.dev = NULL;
return err;