[media] lirc: return ENOTTY when device does support ioctl
authorSean Young <sean@mess.org>
Wed, 8 Feb 2017 22:44:38 +0000 (20:44 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 24 Mar 2017 11:20:28 +0000 (08:20 -0300)
commitbc989391ab08ef75602a82cacf4fabc9f12095e5
tree4f9e208c002b8f07f9c560b71fb503460db6f264
parent5c8627586942b0269f81e3296dabe9f049815779
[media] lirc: return ENOTTY when device does support ioctl

If timeouts or carrier range is not supported, return proper error.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-lirc-codec.c