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>
Cette révision appartient à :
Sudheer Papothi
2021-02-11 06:55:03 +05:30
révisé par Gerrit - the friendly Code Review server
Parent 744c8af576
révision 9f2aca3bfc

Voir le fichier

@@ -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);