From: Devin Heitmueller Date: Tue, 7 Aug 2012 01:47:10 +0000 (-0300) Subject: [media] au0828: tweak workaround for i2c clock stretching bug X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~529 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21dc61d3c0a4c0ee11e3e4a4e4888d4c71875b6d;p=pandora-kernel.git [media] au0828: tweak workaround for i2c clock stretching bug The hack I put in a couple of years ago to avoid clock stretching issues when talking to the xc5000 worked fine for writes, but intermittently fails for register reads, because the xc5000 may stretch the clock for longer between bytes (I was seeing cases of 21 us on the analyzer). The problem manifested itself as the xc5000 firmware version and PLL lock register intermittently showing garbage values. Slow down the i2c bus from 30 KHz to 20 KHz to accommodate. Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed