[media] it913x: init tuner on attach
authorBimow Chen <Bimow.Chen@ite.com.tw>
Tue, 5 Aug 2014 03:14:47 +0000 (00:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 4 Sep 2014 15:23:22 +0000 (12:23 -0300)
commit01b461bbe74b89da8941f4c95711777d87b9172e
tree18b09209390672de8d89061a98fe32bc4081e04e
parent0df6580c5fc115034de29aa52af5cf6bd83d37d8
[media] it913x: init tuner on attach

That register is needed to program very first in order to operate
correctly.

[crope@iki.fi: returned sequence back, removed sleep, moved reg
write earlier to prevent populating tuner ops in case of failure]

Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Bimow Chen <Bimow.Chen@ite.com.tw>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/tuner_it913x.c