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

Commit b6638b8b authored by Santosh Mardi's avatar Santosh Mardi Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd9335: initialize blocking notifier



Initialize the blocking notifier chain during probe.

Change-Id: If22ddbc1af3eeb70aac0ae0df7b75fd50713662e
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent f7d9868d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9778,6 +9778,7 @@ static int tasha_probe(struct platform_device *pdev)
	INIT_DELAYED_WORK(&tasha->power_gate_work, tasha_codec_power_gate_work);
	mutex_init(&tasha->power_lock);
	INIT_WORK(&tasha->swr_add_devices_work, wcd_swr_ctrl_add_devices);
	BLOCKING_INIT_NOTIFIER_HEAD(&tasha->notifier);
	mutex_init(&tasha->micb_lock);
	mutex_init(&tasha->swr_read_lock);
	mutex_init(&tasha->swr_write_lock);