Re: [PATCH] tlg2300: fix missing check for audio creation

2012-09-23 Thread Mauro Carvalho Chehab
Hi Alan, Em 04-09-2012 11:43, Alan Cox escreveu: From: Alan Cox a...@linux.intel.com 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

[PATCH] tlg2300: fix missing check for audio creation

2012-09-04 Thread Alan Cox
From: Alan Cox a...@linux.intel.com 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 a...@linux.intel.com ---