[media] v4l: omap4iss: Translate -ENOIOCTLCMD to -ENOTTY
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 3 Nov 2013 23:28:24 +0000 (20:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 3 Dec 2013 19:54:55 +0000 (17:54 -0200)
commit4a62361f825325bd6dd228d3c05e254d40f74e47
tree483c0ad0d2004e7f7eb170fe6a5c5b7c7f31181e
parente43484e42d5537ad2db11a1973790a105bed54ca
[media] v4l: omap4iss: Translate -ENOIOCTLCMD to -ENOTTY

Translating -ENOIOCTLCMD to -EINVAL is invalid, the correct ioctl return
value is -ENOTTY.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/omap4iss/iss_video.c