]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8688c980e3b14c8d17f26aa3cf5409ed73c9677c
tree6bc597eccf997eadc8706655b55d0c1ee324a907
parent66e0ae69a97d34aefc07423d1f964d6600d4d799
[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