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

Commit 64154bc5 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 ea6cbeeb 96975d40
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1274,6 +1274,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);