From: Devin Heitmueller Date: Wed, 11 Mar 2009 06:01:01 +0000 (-0300) Subject: V4L/DVB (11078): au0828: properly handle non-existent analog inputs X-Git-Tag: v2.6.30-rc1~621^2~187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220be77c6e4302207c34afc78a98b4994f92f6e5;p=pandora-kernel.git V4L/DVB (11078): au0828: properly handle non-existent analog inputs It is not valid to look for dev->board.input == NULL to detect an undefined analog configuration section, since it is a member of the struct and not a pointer (hence it will *always* be non-NULL). Do the check based on whether the first input is actually a valid input type instead. Thanks to Michael Krufky for providing sample hardware of various configurations to test with. Signed-off-by: Devin Heitmueller Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed