projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix an OOPS when initializing IR remote on saa7134
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
media
/
video
/
saa7134
/
saa7134-input.c
diff --git
a/drivers/media/video/saa7134/saa7134-input.c
b/drivers/media/video/saa7134/saa7134-input.c
index e648cc3bc96d33220527a7bd409034370ae72e4c..ab75ca5ac356b16862b0957f9a85d56dd5f650b4 100644
(file)
--- a/
drivers/media/video/saa7134/saa7134-input.c
+++ b/
drivers/media/video/saa7134/saa7134-input.c
@@
-713,6
+713,8
@@
int saa7134_input_init1(struct saa7134_dev *dev)
return -ENOMEM;
}
+ ir->dev = input_dev;
+
/* init hardware-specific stuff */
ir->mask_keycode = mask_keycode;
ir->mask_keydown = mask_keydown;