[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Jun 2014 16:31:17 +0000 (13:31 -0300)
commitc9f5ccc24d1c08705ab5ea2bf0d6166c8e8dc545
treeba02342e9c1a560284dbb3e00c7d4ee248606822
parent65c8820912d9469de75e5c607cefda92f11e3d2f
[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.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/au8522_decoder.c