From: Devin Heitmueller Date: Mon, 20 Oct 2008 13:19:07 +0000 (-0300) Subject: V4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desire... X-Git-Tag: v2.6.28-rc1~37^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50eac6bc466f69e1ecb3a1b64346ed7b979547ac;p=pandora-kernel.git V4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desired modulation If we are already at the desired modulation, there is no need to reconfigure the demod (at a tuning time cost) Note that this change revealed that although the datasheet says the demod starts out in VSB-8 mode, the first tuning was failing consistently unless we went through the work of setting the registers. So add a field to denote this case so we always do the enable_frontend call, even if the first tuning request is for VSB-8. Signed-off-by: Devin Heitmueller Reviewed-by: Michael Krufky Acked-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed