]> git.baikalelectronics.ru Git - kernel.git/commit
[media] lirc: LIRC_{G,S}ET_SEND_MODE fail if device cannot transmit
authorSean Young <sean@mess.org>
Fri, 2 Dec 2016 17:16:09 +0000 (15:16 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 13:53:02 +0000 (11:53 -0200)
commit147bcf2c905fce6cd66b5c71d66859bdd80a9f4d
tree027ee7984613a4d4a1fd61729a32365ee55cdee7
parent1753167688184596be7c6c8dd43a9e25bca906b2
[media] lirc: LIRC_{G,S}ET_SEND_MODE fail if device cannot transmit

These ioctls should not succeed if the device cannot send. Also make it
clear that these ioctls should return the lirc mode, although the actual
value does not change.

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