]> git.openfabrics.org - ~emulex/infiniband.git/commit
[media] dib8000: improves the auto search mode check logic
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 15 Dec 2013 12:57:40 +0000 (09:57 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Dec 2013 10:17:44 +0000 (08:17 -0200)
commitad976187040dd898daa7b6dcc44c03f79074d072
tree61a33027aac556f0b11800840f721859ca403234
parent70315b3eafabd35ce5f2d43dc82517f66d8ce066
[media] dib8000: improves the auto search mode check logic

The logic that detects if auto search mode should be used is too
complex.

Also, it doesn't cover all cases, as the dib8000_tune logic
requires either auto mode or a fully specified manual mode.
So, move it to a separate function and add some extra debug
data to help identifying when it falled back to auto mode,
because the manual settings are invalid.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Acked-by: Patrick Boettcher <pboettcher@kernellabs.com>
drivers/media/dvb-frontends/dib8000.c