From: Alan Cox Date: Tue, 4 Sep 2012 13:43:26 +0000 (-0300) Subject: [media] tlg2300: fix missing check for audio creation X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~219 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da35de640a0e9c805aba70439f524234890b96c5;p=pandora-kernel.git [media] tlg2300: fix missing check for audio creation If we fail to set up the capture device we go through negative indexes and badness happens. Add the missing test. Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44551 Signed-off-by: Alan Cox Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed