upstream: [media] au8522: Fix demod analog mode setting
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 8 Jun 2014 16:54:55 +0000 (13:54 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:08 +0000 (14:32 +0900)
commit4278eaf4391dcbfaf9c9968794ea58b7d106f886
tree274f1d8cb93fd5e8223a77c15b447188cfd6f140
parent88ff197f7b2aaae442f1f642afe73ba96253fd4e
upstream: [media] au8522: Fix demod analog mode setting

There are several issues on the current code:
1) msleep(1) is actually equivalent to msleep(10);
2) au8522_video_set() will set reg 0xa4 to the
   proper value for SIF, CVBS or S-Video. No need
   to force it to CVBS;
3) Let's not hardcode 0x9d for CBS on audio_set.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=c9f5ccc24d1c
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/au8522_decoder.c