]> git.baikalelectronics.ru Git - kernel.git/commit
[media] au0828: speed up i2c clock when doing xc5000 firmware load
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 7 Aug 2012 01:47:04 +0000 (22:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 Aug 2012 23:39:36 +0000 (20:39 -0300)
commit2fb24783344ed81fb8a35bbf2de644ff471b8330
tree1efc492512b5e405737df9a4917641a3fefc514b
parent32b9694a1671bd673daef244e72934c434366cf5
[media] au0828: speed up i2c clock when doing xc5000 firmware load

Put a hack in place to speed up the firmware load in the case that the
xc5000 has just been reset.  The chip can safely do 400 KHz in this mode,
while in normal operation it can only do 100 KHz.

This reduces the firmware load time from 6.9 seconds to 4.2.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/au0828/au0828-i2c.c