From: Guennadi Liakhovetski Date: Wed, 17 Dec 2008 17:05:38 +0000 (-0300) Subject: V4L/DVB (10066): mt9m001 mt9v022: fix bus-width switch GPIO availability test X-Git-Tag: v2.6.29-rc1~556^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=297a7ef700ce2e91ed0f941034541d1563ef0a7d;p=pandora-kernel.git V4L/DVB (10066): mt9m001 mt9v022: fix bus-width switch GPIO availability test Testing for non-NULL platform-data is not enough, we have to check if the GPIO in the platform data is valid or not. Also see my earlier patch: [ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed