]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] dvb: frontend: or51132: remove bogus optimization attempt
authorMac Michaels <wmichaels1@earthlink.net>
Fri, 9 Sep 2005 20:02:40 +0000 (13:02 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:40 +0000 (13:57 -0700)
commit1e71e193cb6e8af08d61ff24efe509dc5daf608e
treef7607a5f38434b58bf7984d454dece57d6299fac
parent4a6b05e373bbc426a7441cde8a72e4fabc1c241d
[PATCH] dvb: frontend: or51132: remove bogus optimization attempt

This fix has also been applied to lgdt330x.  There is an optimization that
keeps track of the frequency tuned by the digital decoder.  The digital driver
does not set the frequency if it has not changed since it was tuned.  The
analog tuner driver knows nothing about the frequency saved by the digital
driver.  When the frequency is set using the video4linux code with tvtime, the
hardware get changed but the digital driver's state does not get updated.
Switch back to the same digital channel and the driver finds no change in
frequency so the tuner is not reset to the digital frequency.  The work around
is to remove the check and always set the tuner to the specified frequency.

Signed-off-by: Mac Michaels <wmichaels1@earthlink.net>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/frontends/or51132.c