mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
asoc: sm8150: use locked version of soc_find_component
Use soc_find_component locked version to ensure proper access of component list while trying to find wsa components from the list. Change-Id: I1960d5b023c3d59f5c97ca0f616b4d9e39c15c50 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:
parent
1ab95845cf
commit
773b1d1ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -7268,7 +7268,7 @@ static int msm_init_wsa_dev(struct platform_device *pdev,
|
|||
ret = -EINVAL;
|
||||
goto err_free_dev_info;
|
||||
}
|
||||
if (soc_find_component(wsa_of_node, NULL)) {
|
||||
if (soc_find_component_locked(wsa_of_node, NULL)) {
|
||||
/* WSA device registered with ALSA core */
|
||||
wsa881x_dev_info[found].of_node = wsa_of_node;
|
||||
wsa881x_dev_info[found].index = i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue