]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: Do not modify EM28XX_R06_I2C_CLK for em2800
authorSascha Sommer <saschasommer@freenet.de>
Sun, 8 Jan 2012 19:32:09 +0000 (16:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:48:18 +0000 (22:48 -0200)
commit1a303c31606d0050f13b34e236072947d0a7fd0c
treef212c7510d333061e914f2b2f4a7f1de0cd6188e
parent97728e4085fc3b9c1f2308a8ed08fef3c10fe682
[media] em28xx: Do not modify EM28XX_R06_I2C_CLK for em2800

writing the EM28XX_R06_I2C_CLK register leads to the problem that the
i2c bus on the Terratec Cinergy 200 USB is no longer usable when the
system is rebooted.

The device needs to be unplugged in order to bring it back to life.
Attached patch conditionally disables the write in
em28xx_pre_card_setup() like it is already done in em28xx_card_setup().

Signed-off-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c