diff options
author | Kuninori Morimoto <[email protected]> | 2023-04-06 00:16:27 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-04-17 12:57:26 +0100 |
commit | 0f3b818486796ec8895fa4ccdf15edb759bff40a (patch) | |
tree | 7fc8dba52d49253349467e1f3e896bd6a23aeea6 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 38e42f6d6c6702bbfc633fce9b579fb80cec2d59 (diff) |
ASoC: add snd_soc_card_mutex_lock/unlock()
ASoC need to use card->mutex with _INIT or _RUNTIME,
but there is no helper function for it.
This patch adds its helper function and use it.
Because people might misunderstand that _init() is mutex initialization,
this patch renames _INIT to _ROOT and adds new
snd_soc_card_mutex_lock_root() for it.
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions