V4L/DVB (12347): cx25840: Bugfix for no DVB-T on the Hauppauge HVR-1700
authorSteven Toth <stoth@kernellabs.com>
Thu, 23 Jul 2009 15:18:54 +0000 (12:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:15 +0000 (12:18 -0300)
commitf3d6f63302bfcd7462d46bd1fe44146c971634d4
tree29f261a29f5ea467e5ca13354d866084f99be55e
parent73c6f462d1d07f276e279467f311a96a2a43d9c5
V4L/DVB (12347): cx25840: Bugfix for no DVB-T on the Hauppauge HVR-1700

After the i2c subdev changes the ordering of initialization changed,
causing a total loss of previous GPIO settings and a loss of DTV.
The generic firmware loading routine has now changed to preserve
GPIO values if the device is cx23885 based (safety) and I've
moved the GPIO configuration from probe() into the cx23885 init
func which is a little clearer and fixes the bug.

Tested-by: Sohail Syyed <linuxtv@hubstar.net>
Reviewed-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/cx25840/cx25840-firmware.c