Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0538f832 authored by Prasad Kumpatla's avatar Prasad Kumpatla Committed by Gerrit - the friendly Code Review server
Browse files

asoc: codecs: add sem initialize for blocking notifier.



add semaphore initialize for the notifier before the blocking
notifier.

Change-Id: I20a919215fdc0da1830368070063fbe2b8fc5f62
Signed-off-by: default avatarPrasad Kumpatla <nkumpat@codeaurora.org>
parent ab02a0d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1373,6 +1373,7 @@ static int bolero_probe(struct platform_device *pdev)
		bolero_reg_access[VA_MACRO] = bolero_va_reg_access_v3;
	}

	BLOCKING_INIT_NOTIFIER_HEAD(&priv->notifier);
	priv->dev = &pdev->dev;
	priv->dev_up = true;
	priv->initial_boot = true;