summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-05-24 05:47:17 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-28 17:40:33 -0400
commitd7832cd2a3c87eb6ae1e802c88b6fc56c5823f6d (patch)
treea5793e7980fdd373f1967bc10aa873bbb18a2416 /README
parentd24e56f6fbfbce79ae1da3ef7a790942e48676ef (diff)
downloadlinux-d7832cd2a3c87eb6ae1e802c88b6fc56c5823f6d.tar.bz2
media: rc: ensure input/lirc device can be opened after register
Since commit cb84343fced1 ("media: lirc: do not call close() or open() on unregistered devices") rc_open() will return -ENODEV if rcdev->registered is false. Ensure this is set before we register the input device and the lirc device, else we have a short window where the neither the lirc or input device can be opened. Fixes: cb84343fced1 ("media: lirc: do not call close() or open() on unregistered devices") Cc: stable@vger.kernel.org # v4.16+ Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions