]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: it913x: init tuner on attach
authorBimow Chen <Bimow.Chen@ite.com.tw>
Tue, 5 Aug 2014 03:14:47 +0000 (00:14 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 20:41:10 +0000 (13:41 -0700)
commit7dd9e7dc827eff4227c875d80aa099a988c5f6cd
tree01ef2f915e34bc09aba9ad847eb7469083ea8879
parent8f91119341c98f7645777985e23e34600957c234
media: it913x: init tuner on attach

commit 01b461bbe74b89da8941f4c95711777d87b9172e upstream.

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]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/tuners/tuner_it913x.c