asoc: codecs: add sem initialize for blocking notifier.

add semaphore initialize for the notifier before the blocking
notifier.

Change-Id: I20a919215fdc0da1830368070063fbe2b8fc5f62
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
This commit is contained in:
Prasad Kumpatla
2020-10-07 11:44:43 +05:30
committed by Gerrit - the friendly Code Review server
parent ab02a0d9c1
commit 0538f8320d

View File

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