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

Commit 5e450b19 authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

ASoC: swr-haptics: Update the configuration and gain settings



Update the configuration and gain settings as per hardware
sequence recommendation for soundwire haptics usecase.

Change-Id: I09b86026f664fec3105af4a8180168fda457d4fd
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent d155d7f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ static int hap_enable_swr_dac_port(struct snd_soc_dapm_widget *w,
		swr_slvdev_datapath_control(swr_hap->swr_slave,
				swr_hap->swr_slave->dev_num, true);
		/* trigger SWR play */
		val = SWR_PLAY_BIT | SWR_BRAKE_EN_BIT | SWR_PLAY_SRC_VAL_SWR;
		val = SWR_PLAY_BIT | SWR_PLAY_SRC_VAL_SWR;
		rc = regmap_write(swr_hap->regmap, SWR_PLAY_REG, val);
		if (rc) {
			dev_err(swr_hap->dev, "%s: Enable SWR_PLAY failed, rc=%d\n",