]> 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)
commit3ff3f6f9dc7ef21c1759f979ff5002d3f4fa724d
treee80d3913754f6868f76df23c2c7c2cd77ff9b6d7
parent755505b300aad1bc50cddedea5e4ff4841aa45f5
[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