From: Dan Carpenter Date: Thu, 26 May 2011 08:47:35 +0000 (+0300) Subject: ALSA: fm801: add error handling if auto-detect fails X-Git-Tag: v3.0-rc2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9676001559fce06e37c7dc230ab275f605556176;p=pandora-kernel.git ALSA: fm801: add error handling if auto-detect fails In the original code if auto detect failed and tea575x_tuner == 4 then we copy bogus information to chip->tea.card. I've changed the autodetect code to cleanup and return -ENODEV on error instead. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed