From: Takashi Iwai Date: Thu, 8 Nov 2012 13:36:18 +0000 (+0100) Subject: ALSA: Fix card refcount unbalance X-Git-Tag: v3.7-rc5~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bb4d9ce08b0a92ca174e41d92c180328f86173f;p=pandora-kernel.git ALSA: Fix card refcount unbalance 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 Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed