OSDN Git Service

[media] it913x: fix IT9135 AX sleep
authorAntti Palosaari <crope@iki.fi>
Sat, 9 Aug 2014 16:39:16 +0000 (13:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 20:24:31 +0000 (17:24 -0300)
commit9e0a976ed60345d53e8d421cb0a39202ce8487fe
treef2fe6c429a381d7b8295dee12ec4db80f769d90f
parent66f6319936344279466bd09f9788e888e03c99a0
[media] it913x: fix IT9135 AX sleep

Old IT9135 AX needs a little bit different register settings for
sleep than newer IT9135 BX. This has been broken always, as power
management of the whole driver, but it started to be problem as I
fixed clock. Earlier clock was disabled very first on sleep and
rest of the commands were skipped by the chip as no clock, leaving
tuner full power state. When I fixed clocks these PM bugs started
raising out as I/O errors.

Cc: Bimow Chen <Bimow.Chen@ite.com.tw>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/tuner_it913x.c
drivers/media/tuners/tuner_it913x_priv.h