[media] sir_ir: infinite loop in interrupt handler
authorSean Young <sean@mess.org>
Tue, 16 May 2017 07:56:14 +0000 (04:56 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 09:16:41 +0000 (06:16 -0300)
commit592ddc9f7db36c778d3bf9ffdfd93d8d5d548e48
tree54d0f00a521bc3daebba00a24d9aad8a8ec2d123
parentdd8245f445f5e751b38126140b6ba1723f06c60b
[media] sir_ir: infinite loop in interrupt handler

Since this driver does no detection of hardware, it might be used with
a non-sir port. Escape out if we are spinning.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/sir_ir.c