diff options
author | Sean Young <sean@mess.org> | 2021-09-14 16:57:46 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:10:26 +0200 |
commit | 4114978dcd24e72415276bba60ff4ff355970bbc (patch) | |
tree | c66b1a0dfb763770a3e3c57657669fc3a3128e19 /drivers/pinctrl/pinctrl-amd.c | |
parent | 218848835699879ed6260ec49bbb22e9e7839017 (diff) | |
download | linux-next-4114978dcd24e72415276bba60ff4ff355970bbc.tar.gz |
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/pinctrl/pinctrl-amd.c')
0 files changed, 0 insertions, 0 deletions