ASoC: wsa883x: Update the handle for event notification

Update the parent handle for event notification to receive
event notification from digital codec.

Change-Id: Ia67814eee4e0a4703c2fde6db7942757bcc2ba2d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
这个提交包含在:
Sudheer Papothi
2021-02-11 06:55:03 +05:30
提交者 Gerrit - the friendly Code Review server
父节点 744c8af576
当前提交 9f2aca3bfc

查看文件

@@ -1765,6 +1765,9 @@ static int wsa883x_swr_probe(struct swr_device *pdev)
wsa883x->parent_np = of_parse_phandle(pdev->dev.of_node,
"qcom,bolero-handle", 0);
if (!wsa883x->parent_np)
wsa883x->parent_np = of_parse_phandle(pdev->dev.of_node,
"qcom,lpass-cdc-handle", 0);
if (wsa883x->parent_np) {
wsa883x->parent_dev =
of_find_device_by_node(wsa883x->parent_np);