V4L/DVB (8097): xc5000: check device hardware state to determine if firmware download...
authorSteven Toth <stoth@linuxtv.org>
Sun, 22 Jun 2008 00:06:02 +0000 (21:06 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:58 +0000 (15:58 -0300)
commite470d8177ed6ae56f4310ce793a57bcb2fed1749
tree25a184be6b95988133889b8e2ffc651da643976c
parent836c28584d4629fdc85365f083b84e1298e14312
V4L/DVB (8097): xc5000: check device hardware state to determine if firmware download is needed

This patch ensures that the xc5000 will have firmware loaded as needed if the
part is powered down or reset via gpio from the host. An example of this, in
some cases, could be after the system resumes from standby or hibernate modes.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/tuners/xc5000.c
drivers/media/common/tuners/xc5000_priv.h