[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)
commitfaaf01b2f6be0378c0c6084f0257b150dc014152
tree1efc492512b5e405737df9a4917641a3fefc514b
parenta595c1ce4c9d572cf53513570b9f1a263d7867f2
[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