media: ir_toy: do not resubmit broken urb
authorSean Young <sean@mess.org>
Wed, 8 Sep 2021 09:22:40 +0000 (11:22 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:08:01 +0000 (10:08 +0200)
commit92f461517d22d85adb8c24970ee61357b97af0aa
tree41487836e90c4680509939dd9d06052b87ba1e5a
parent1d37c85425122cdb56f6448286cc41419a34d621
media: ir_toy: do not resubmit broken urb

This causes the same urb to resubmitted continuously, hogging up a cpu.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/ir_toy.c