]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit55cc4e6b24ab7be4098b672b73e3e254d914a0e2
treee80d3913754f6868f76df23c2c7c2cd77ff9b6d7
parentd73ff7bb9146776d22448ffa7684ebb00e113be4
[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