diff options
author | Sean Young <sean@mess.org> | 2018-05-24 05:47:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-28 17:40:33 -0400 |
commit | d7832cd2a3c87eb6ae1e802c88b6fc56c5823f6d (patch) | |
tree | a5793e7980fdd373f1967bc10aa873bbb18a2416 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | d24e56f6fbfbce79ae1da3ef7a790942e48676ef (diff) |
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 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions