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

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

Merge "ASoC: wsa881x: Update device state during device probe"

parents bf1774a7 c2b4e04a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1129,7 +1129,6 @@ static int wsa881x_probe(struct snd_soc_codec *codec)
		"%s.%x", "wsatz", (u8)dev->addr);
	wsa881x->bg_cnt = 0;
	wsa881x->clk_cnt = 0;
	wsa881x->state = WSA881X_DEV_UP;
	wsa881x->tz_pdata.codec = codec;
	wsa881x->tz_pdata.wsa_temp_reg_read = wsa881x_temp_reg_read;
	wsa881x_init_thermal(&wsa881x->tz_pdata);
@@ -1286,6 +1285,8 @@ static int wsa881x_swr_probe(struct swr_device *pdev)
	if (ret)
		goto err;
	wsa881x_gpio_ctrl(wsa881x, true);
	wsa881x->state = WSA881X_DEV_UP;

	if (!debugfs_wsa881x_dent) {
		dbgwsa881x = wsa881x;
		debugfs_wsa881x_dent = debugfs_create_dir(