Fix for IR Toy issue
Hi,
The IR Toy device might hang if it receives IR while an transmit command is sent. Presumably this is an issue in the firmware, however this works around the issue.
Thanks
Sean
The following changes since commit 3ad02c27d89d72b3b49ac51899144b7d0942f05f:
media: s5p-jpeg: rename JPEG marker constants to prevent build warnings (2021-09-07 07:57:59 +0200)
are available in the Git repository at:
git://linuxtv.org/syoung/media_tree.git tags/v5.15f
for you to fetch changes up to ec348aed3d14269855027751488bf4d33547f8db:
media: ir_toy: prevent device from hanging during transmit (2021-09-14 22:09:48 +0100)
----------------------------------------------------------------
v5.15f
----------------------------------------------------------------
Sean Young (1):
media: ir_toy: prevent device from hanging during transmit
drivers/media/rc/ir_toy.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-)
Re: [GIT FIXES FOR v5.15] Fix for IR Toy issue (#77011)
From: [email protected]
Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
Build log: https://builder.linuxtv.org/job/patchwork/139547/
Build time: 00:15:17
gpg: Signature made Wed 15 Sep 2021 07:29:09 AM UTC gpg: using RSA key A624251A26084A9ED9E4C8B6425F639D3960FA9E gpg: issuer "[email protected]" gpg: Good signature from "Sean Young <[email protected]>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: A624 251A 2608 4A9E D9E4 C8B6 425F 639D 3960 FA9E
Summary: got 1/1 patches with issues, being 1 at build time, plus one error when buinding PDF document
Error/warnings:
patches/0001-media-ir_toy-prevent-device-from-hanging-during-tran.patch:
allyesconfig: return code #0:
../scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] ../scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] ../scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
allyesconfig: return code #512:
../drivers/media/cec/core/cec-adap.c: ../drivers/media/cec/core/cec-adap.c:926 cec_transmit_msg_fh() warn: '&data->list' not removed from list ../drivers/media/rc/meson-ir-tx.c:22: warning: expecting prototype for meson(). Prototype was for DEVICE_NAME() instead ../drivers/media/rc/ir_toy.c:326:36: error: ‘STATE_RESET’ undeclared (first use in this function)
../drivers/media/rc/ir_toy.c:326:36: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [../scripts/Makefile.build:271: drivers/media/rc/ir_toy.o] Error 1
make[3]: *** [../scripts/Makefile.build:514: drivers/media/rc] Error 2
make[3]: *** Waiting for unfinished jobs....
../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1981 vivid_create_instance() parse error: turning off implications after 60 seconds SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures SPARSE:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: warning: array of flexible structures ../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2888 em28xx_v4l2_init() parse error: turning off implications after 60 seconds make[2]: *** [../scripts/Makefile.build:514: drivers/media] Error 2
make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1842: drivers] Error 2
make: *** [Makefile:220: __sub-make] Error 2
allmodconfig: return code #512:
../drivers/media/rc/ir_toy.c:326:36: error: ‘STATE_RESET’ undeclared (first use in this function) ../drivers/media/rc/ir_toy.c:326:36: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [../scripts/Makefile.build:271: drivers/media/rc/ir_toy.o] Error 1
make[3]: *** [../scripts/Makefile.build:514: drivers/media/rc] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [../scripts/Makefile.build:514: drivers/media] Error 2
make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1842: drivers] Error 2
make: *** [Makefile:220: __sub-make] Error 2
Error #512 when building PDF docs