diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/rc/ir-lirc-codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-lirc-codec.c b/drivers/media/rc/ir-lirc-codec.c index 569124b03de3..870c93052fd0 100644 --- a/drivers/media/rc/ir-lirc-codec.c +++ b/drivers/media/rc/ir-lirc-codec.c | |||
@@ -203,13 +203,13 @@ static long ir_lirc_ioctl(struct file *filep, unsigned int cmd, | |||
203 | /* TX settings */ | 203 | /* TX settings */ |
204 | case LIRC_SET_TRANSMITTER_MASK: | 204 | case LIRC_SET_TRANSMITTER_MASK: |
205 | if (!dev->s_tx_mask) | 205 | if (!dev->s_tx_mask) |
206 | return -EINVAL; | 206 | return -ENOSYS; |
207 | 207 | ||
208 | return dev->s_tx_mask(dev, val); | 208 | return dev->s_tx_mask(dev, val); |
209 | 209 | ||
210 | case LIRC_SET_SEND_CARRIER: | 210 | case LIRC_SET_SEND_CARRIER: |
211 | if (!dev->s_tx_carrier) | 211 | if (!dev->s_tx_carrier) |
212 | return -EINVAL; | 212 | return -ENOSYS; |
213 | 213 | ||
214 | return dev->s_tx_carrier(dev, val); | 214 | return dev->s_tx_carrier(dev, val); |
215 | 215 | ||