From: Takashi Iwai Date: Thu, 8 Nov 2012 13:36:18 +0000 (+0100) Subject: ALSA: Fix card refcount unbalance X-Git-Tag: v3.2.34~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b36c5e0e38ce18815c392a1fcbb16cd1480853;p=pandora-kernel.git ALSA: Fix card refcount unbalance commit 8bb4d9ce08b0a92ca174e41d92c180328f86173f upstream. There are uncovered cases whether the card refcount introduced by the commit a0830dbd isn't properly increased or decreased: - OSS PCM and mixer success paths - When lookup function gets NULL This patch fixes these places. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=50251 Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed