[media] rc-core: fix return codes in ir_lirc_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Sep 2012 10:11:53 +0000 (07:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 12:25:01 +0000 (09:25 -0300)
commit5f49908adb1ff4f0cec429923f1f49e79f318812
tree493146590d6e38f15ae925faad09a08b2cd4e3d1
parent48cafec9a941c2dfe94d76642662bc20bf87fe08
[media] rc-core: fix return codes in ir_lirc_ioctl()

These should be -ENOSYS because not -EINVAL.

Reported-by: Sean Young <sean@mess.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ir-lirc-codec.c