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>
Mon, 27 Feb 2006 03:09:11 +0000 (00:09 -0300)
commit44fd06fa9002c42b367c152594cc95b7632c081d
tree296578d5a5bb6ff131ac2c8b1fa6b88be0548153
parent36f4f334a169e5d42721d74b5d92fda89f792b06
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