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

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

Merge "asoc: lahaina: set correct swr port map when wcd disabled"

parents 065923bf 3aea11c5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7919,6 +7919,8 @@ static int msm_rx_tx_codec_init(struct snd_soc_pcm_runtime *rtd)
	bolero_register_wake_irq(component, false);

	if (pdata->wcd_disabled) {
		bolero_set_port_map(bolero_component,
			ARRAY_SIZE(sm_port_map), sm_port_map);
		codec_reg_done = true;
		return 0;
	}