[media] rc: transmit on device which does not support it should fail
authorSean Young <sean@mess.org>
Mon, 13 Aug 2012 11:59:49 +0000 (08:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Aug 2012 19:19:14 +0000 (16:19 -0300)
commitd07df223abb42c97dbaf2d26226c3882bcb3a3cf
treeb8cba6415d37d32da3fcd82184fa4f962d0d3ebd
parent4da212e2ffaa34edb887a3a86424124fe8341e34
[media] rc: transmit on device which does not support it should fail

Currently write() will return 0 if an IR device does not support sending.

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