V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe
authorHartmut Hackmann <hartmut.hackmann@t\-online.de>
Mon, 27 Feb 2006 03:09:11 +0000 (00:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 3 Mar 2006 17:18:07 +0000 (14:18 -0300)
commit14c255b2b26338fd5cafe62508ba0f0ba798951e
tree63cf280bb58a8704f09fc93da71507c0ca416fb4
parent2175771e154d9faf404b2631be39bf7bd36a035e
V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe

The probing code for tda8290 changes the state of the tda9887 GP ports.
The patch assumes that if probing for tda8290 failed, this must be a
tda9887 and restores its power on defaults.
This should solve the module load order issue with some pinnacle cards.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-cards.c
drivers/media/video/tda8290.c