commit | 3f8e69e4d2497fe9b414a443fc6c983f17e79ac3 | [log] [tgz] |
---|---|---|
author | yidongh <quic_yidongh@quicinc.com> | Mon Oct 31 16:16:48 2022 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Nov 08 19:08:31 2022 -0800 |
tree | 66a5bda555fbc5335951ffb2ac3aa9e693b2233a | |
parent | 21351394b8ab9475b7389453bbcd351ba579e4b9 [diff] |
snd-card-parser: avoid virtual card info returned improperly When getting card info with hw card(0), virtual card info may be returned unexpectedly, causing ref count goes to bad state for virtual card info. Set card_def to NULL if no matching card info found in card list. Change-Id: I28c7d9638ac6b705b46a119aff3aaf47f9dd311a