[media] it913x: fix firmware loading errors
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 25 Mar 2012 09:57:49 +0000 (06:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Apr 2012 12:42:10 +0000 (09:42 -0300)
commit4da28766140449e04270246fae310c137180652d
treee80d3913754f6868f76df23c2c7c2cd77ff9b6d7
parentbc169e35e3a72c6888b7d12f50f2c4063436d834
[media] it913x: fix firmware loading errors

On some systems the device does not respond or give obscure values after cold,
warm or firmware reboot.

This patch retries to get chip version and type 5 times. If it
fails it applies chip version 0x1 and type 0x9135.

This patch does not fix warm cycle problems from other operating
systems and indeed the reverse applies. Users should power off cold boot.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/it913x.c