[media] rc: make s_tx_mask consistent
authorSean Young <sean@mess.org>
Sun, 10 Jul 2016 16:34:32 +0000 (13:34 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 15 Jul 2016 14:46:55 +0000 (11:46 -0300)
commit20f5a827cf4b8fa11d5897e4d92d1a480f2cf58b
treeb9a9b3f66a82b5009692dd2a1cb26b1da1af6d91
parent9e422f64fa74e2d68e198c6a3d8020903152ce52
[media] rc: make s_tx_mask consistent

When s_tx_mask is given an invalid bitmask, the number of transmitters
should be returned. See the LIRC_SET_TRANSMITTER_MASK lirc ioctl
documentation.

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