]> git.karo-electronics.de Git - linux-beck.git/commit
[media] tda10071: change firmware download condition
authorAndreas Matthies <a.matthies@gmx.net>
Mon, 16 Sep 2013 21:08:13 +0000 (18:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 24 Sep 2013 16:31:34 +0000 (13:31 -0300)
commitaea28aded99cf273ce00fa69769f648d1c9c2619
tree2ac00bbf9b4e2f154c25331d3c3c084831d05477
parentc0c7203640ffed8837fc4484795760eb19814ce8
[media] tda10071: change firmware download condition

Reading firmware status register to detect whether firmware is
running or not didn't worked 100% reliably. That register was
likely set by firmware itself which means it could not contain
reasonable values until firmware is up and running. Usually it
just worked as some garbage value was returned accidentally but it
appears that in some cases returned garbage value was 0x00 which
was considered "firmware is up and running" by the driver and
firmware loading was skipped leaving device to non-working state.
Fix problem by removing unreliable check and let the driver keep
count whether firmware is loaded or not.

Signed-off-by: Andreas Matthies <a.matthies@gmx.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/tda10071.c