diff options
author | Sean Young <sean@mess.org> | 2017-12-11 23:12:09 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 21:19:57 +0100 |
commit | dde7edff359461d07074ef2f0c4dc85b775d493f (patch) | |
tree | d081dfb183cb520253a350ff4582d42a1a4c09dc /drivers/thermal/dove_thermal.c | |
parent | media: rc: bang in ir_do_keyup (diff) | |
download | linux-dde7edff359461d07074ef2f0c4dc85b775d493f.tar.xz linux-dde7edff359461d07074ef2f0c4dc85b775d493f.zip |
media: lirc: when transmitting scancodes, block until transmit is done
The semantics for lirc IR transmit with raw IR is that the write call
should block until the IR is transmitted. Some drivers have no idea
when this actually is (e.g. mceusb), so there is a wait.
This is useful for userspace, as it might want to send a IR button press,
a gap of a predefined number of milliseconds, and then send a repeat
message.
It turns out that for transmitting scancodes this feature is even more
useful, as user space has no idea how long the IR is. So, maintain
the existing semantics for IR scancode transmit.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/thermal/dove_thermal.c')
0 files changed, 0 insertions, 0 deletions