Searched hist:b4088094 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/rc/ |
H A D | lirc_dev.c | b4088094 Wed Jul 06 04:01:24 CDT 2016 Andi Shyti <andi.shyti@samsung.com> [media] lirc_dev: fix error return value
If ioctl is called, it cannot be a case of invalid system call number (ENOSYS), that is a ENOTTY case which means that the device doesn't support that specific ioctl command.
So, replace ENOSYS with ENOTTY.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> b4088094 Wed Jul 06 04:01:24 CDT 2016 Andi Shyti <andi.shyti@samsung.com> [media] lirc_dev: fix error return value If ioctl is called, it cannot be a case of invalid system call number (ENOSYS), that is a ENOTTY case which means that the device doesn't support that specific ioctl command. So, replace ENOSYS with ENOTTY. Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|