]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: fix GPIO problem with HVR-900R2 getting out of sync with drx-d
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Sun, 13 Mar 2011 05:04:53 +0000 (02:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 10:26:20 +0000 (07:26 -0300)
commita287d57b653ece9cabb730ee8a0b40e2d09c5e12
treed0a4f99dcb731e223d5376b75556f9c63042ac66
parent1cedcbcad7e816198b41018f6e1c2473f7f77e26
[media] em28xx: fix GPIO problem with HVR-900R2 getting out of sync with drx-d

The em28xx bridge strobes the reset pin on the drx-d on every ts_ctrl call.
This results in the state of the chip getting out of the sync with the
state of the driver (and hence all tuning requests after the first one fail).

Make sure the drx-d is not being held in reset, but don't actually perform a
hardware reset on the chip.

The GPIO block has been split out from the other HVR-9x0 variants to reduce
the risk of regression, although in theory they would not have any issues
since none of those cases have the frontend driver managing any internal
state.

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