upstream: [media] au0828: improve I2C speed
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 25 Jul 2014 17:02:14 +0000 (14:02 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:21 +0000 (12:00 +0900)
commitd343e8dfabd18e1b4545c702f569e7afa8a01f28
tree50c531738a2e33251f417f58a00c18f4cdbb234f
parent12cdac32a7718f6c135546066de5108e73c271ff
upstream: [media] au0828: improve I2C speed

Commits 21dc61d3c0a4 and 7a1dd50b89d4 reduced the board I2C
speed to 20 MHz by default, due to a I2C stretch issue:
while xc5000 uses i2c stretch when a command is sent to it,
au0828 doesn't support this feature.

However, this is needed only for Xceive tuners. The other
I2C devices can work at the max speed.

So, revert the workarounds at board level, handling it at
I2C level, only when talking with xc5000.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=cfd0c77d0830
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-cards.c
drivers/media/usb/au0828/au0828-i2c.c