mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>