[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:38:30 +0000 (14:38 -0300)
commit938f11fa3fd55538b4406aece0ea22174c1f2b96
tree6bc597eccf997eadc8706655b55d0c1ee324a907
parent096c8fac7d5385b4597bb6896284e62b1849161b
[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