V4L/DVB: IR/lirc_dev: check for valid irctl in unregister path
authorJarod Wilson <jarod@redhat.com>
Fri, 17 Sep 2010 21:12:31 +0000 (18:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:08 +0000 (01:06 -0200)
commitdf1868e4ee605444bbb98505126bdfb3519749af
treed0b9edb41c55ca9cf28260817ec430ec3efc4638
parent04292fc0031a28d298dfa03c4cd9ce6abef9b4e0
V4L/DVB: IR/lirc_dev: check for valid irctl in unregister path

Prompted by Red Hat bugzilla #633023

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/lirc_dev.c