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

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

Merge "asoc: codecs: Fix mute if hpf cut off freq set to 150hz"

parents 5b2e1084 3a50469c
Loading
Loading
Loading
Loading
+11 −12
Original line number Diff line number Diff line
@@ -1106,7 +1106,7 @@ static int tx_macro_enable_dec(struct snd_soc_dapm_widget *w,
				   &tx_priv->tx_mute_dwork[decimator].dwork,
				   msecs_to_jiffies(unmute_delay));
		if (tx_priv->tx_hpf_work[decimator].hpf_cut_off_freq !=
							CF_MIN_3DB_150HZ) {
							CF_MIN_3DB_150HZ)
			queue_delayed_work(system_freezable_wq,
				&tx_priv->tx_hpf_work[decimator].dwork,
				msecs_to_jiffies(hpf_delay));
@@ -1121,7 +1121,6 @@ static int tx_macro_enable_dec(struct snd_soc_dapm_widget *w,
		 * 6ms delay is required as per HW spec
		 */
		usleep_range(6000, 6010);
		}
		/* apply gain after decimator is enabled */
		snd_soc_component_write(component, tx_gain_ctl_reg,
			      snd_soc_component_read32(component,