[media] media:dvb:fix up ENOIOCTLCMD error handling
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Mon, 27 Aug 2012 06:23:14 +0000 (03:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 15 Sep 2012 16:19:54 +0000 (13:19 -0300)
commitd9751fd02a70bbfd9868f8584c6e9fd10a713d65
tree73657a519b0dac0257038025ecc9f09ef5108637
parent9f9831a8b61fb3cae76bc31561bafdb0a58ad12b
[media] media:dvb:fix up ENOIOCTLCMD error handling

At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be
translated as ENOTTY to user mode.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvbdev.c