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

Commit 0d49bf7f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: wcd9335: perform efuse sensing before cache sync"

parents f0fce8c8 8dce4170
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -10954,6 +10954,8 @@ static int tasha_device_down(struct wcd9xxx *wcd9xxx)
	for (count = 0; count < NUM_CODEC_DAIS; count++)
		priv->dai[count].bus_down_in_recovery = true;

	priv->resmgr->sido_input_src = SIDO_SOURCE_INTERNAL;

	return 0;
}

@@ -11007,6 +11009,8 @@ static int tasha_post_reset_cb(struct wcd9xxx *wcd9xxx)
				    0x03, 0x01);
	tasha_codec_init_reg(codec);

	tasha_enable_efuse_sensing(codec);

	regcache_mark_dirty(codec->component.regmap);
	regcache_sync(codec->component.regmap);

@@ -11038,7 +11042,6 @@ static int tasha_post_reset_cb(struct wcd9xxx *wcd9xxx)
		goto err;
	}

	tasha_enable_efuse_sensing(codec);
	tasha_set_spkr_mode(codec, tasha->spkr_mode);
	wcd_cpe_ssr_event(tasha->cpe_core, WCD_CPE_BUS_UP_EVENT);