upstream: [media] drx-j: Fix qam/256 mode
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 26 Jan 2014 19:41:51 +0000 (16:41 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:57 +0000 (11:55 +0900)
commite97b4d7a2702d4518d850af1eb535dcb08ea5f43
treee54e747c6708e6aac167aafb6833f447eed25d62
parent906815a065d9c2067fef228357fbbd4216234df7
upstream: [media] drx-j: Fix qam/256 mode

QAM/256 currently doesn't work, as the code is only called if
channel->mirror is DRX_MIRROR_AUTO, but a prevous if prevents
this condition to happen.

While here, returns -EINVAL to not supported QAM modes and
simplify the code, reducing the number of indents.

Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drx39xyj/drxj.c