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

Commit 763894ac authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: codecs: check the spkr status before access the wsa registers"

parents ca1d3b12 521ea726
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1300,6 +1300,7 @@ static int wsa883x_event_notify(struct notifier_block *nb,

	switch (event) {
	case BOLERO_WSA_EVT_PA_OFF_PRE_SSR:
		if (test_bit(SPKR_STATUS, &wsa883x->status_mask))
			snd_soc_component_update_bits(wsa883x->component,
						WSA883X_PA_FSM_CTL,
						0x01, 0x00);