diff options
author | Sean Young <sean@mess.org> | 2021-09-14 17:57:46 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-19 12:19:37 +0300 |
commit | f0c15b360fb65ee39849afe987c16eb3d0175d0d (patch) | |
tree | 70934efe6d98aaf5bbc742e618905101e2065d4c /drivers/media/rc/nuvoton-cir.c | |
parent | 3ad02c27d89d72b3b49ac51899144b7d0942f05f (diff) | |
download | linux-f0c15b360fb65ee39849afe987c16eb3d0175d0d.tar.xz |
media: ir_toy: prevent device from hanging during transmit
If the IR Toy is receiving IR while a transmit is done, it may end up
hanging. We can prevent this from happening by re-entering sample mode
just before issuing the transmit command.
Link: https://github.com/bengtmartensson/HarcHardware/discussions/25
Cc: stable@vger.kernel.org
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.c')
0 files changed, 0 insertions, 0 deletions