summaryrefslogtreecommitdiff
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2021-09-14 16:57:46 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-30 10:10:26 +0200
commit4114978dcd24e72415276bba60ff4ff355970bbc (patch)
treec66b1a0dfb763770a3e3c57657669fc3a3128e19 /drivers/media/tuners
parent218848835699879ed6260ec49bbb22e9e7839017 (diff)
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 [mchehab: renamed: s/STATE_RESET/STATE_COMMAND_NO_RESP/ ] Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/tuners')
0 files changed, 0 insertions, 0 deletions