Commit d271d1c2 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Fix an OOPS when initializing IR remote on saa7134

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 9e50afd0
...@@ -713,6 +713,8 @@ int saa7134_input_init1(struct saa7134_dev *dev) ...@@ -713,6 +713,8 @@ int saa7134_input_init1(struct saa7134_dev *dev)
return -ENOMEM; return -ENOMEM;
} }
ir->dev = input_dev;
/* init hardware-specific stuff */ /* init hardware-specific stuff */
ir->mask_keycode = mask_keycode; ir->mask_keycode = mask_keycode;
ir->mask_keydown = mask_keydown; ir->mask_keydown = mask_keydown;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment