diff options
author | Sean Young | 2016-07-10 13:34:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-07-15 11:54:23 -0300 |
commit | 14d8188aabd174b7411388db9c075e77aa69b781 (patch) | |
tree | f4a0a8bca2d35e8796d712d9ca52cc39444edc6e /drivers/media/rc/mceusb.c | |
parent | 20f5a827cf4b8fa11d5897e4d92d1a480f2cf58b (diff) |
[media] rc: make s_tx_carrier consistent
LIRC_SET_SEND_CARRIER should return 0 on success or -errno.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/mceusb.c')
-rw-r--r-- | drivers/media/rc/mceusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index 2d1585d9bd9e..4f8c7effdcee 100644 --- a/drivers/media/rc/mceusb.c +++ b/drivers/media/rc/mceusb.c @@ -942,7 +942,7 @@ static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier) } - return carrier; + return 0; } /* |