From: Mauro Carvalho Chehab Date: Wed, 13 Jul 2011 04:23:11 +0000 (-0300) Subject: [media] tuner-core: fix a 2.6.39 regression with mt20xx X-Git-Tag: v3.0~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ad5ec7f520c559becab2e989a397f1d6ac5eb0;p=pandora-kernel.git [media] tuner-core: fix a 2.6.39 regression with mt20xx As Simon reported, digital TV broke with mt20xx tuner due to commit ad020dc2fe9039628cf6cef42cd1b76531ee8411. The mt20xx tuner passes V4L2_TUNER_DIGITAL_TV to tuner core. However, the check_mode code now doesn't handle it well. Change the logic there to avoid the breakage, and fix a test for analog-only at g_tuner. Reported-by: Simon Arlott Tested-by: Simon Arlott Cc: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed