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

Commit 06fff27f authored by Dhanalakshmi Siddani's avatar Dhanalakshmi Siddani Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: tfa98xx: Update profile info properly



Smart PA profile info is not updated properly.
Fix it by returning proper profile value.

Change-Id: I75af9d7c1d379fb29067dea5c848fe06cd53108f
Signed-off-by: default avatarDhanalakshmi Siddani <dsiddani@codeaurora.org>
parent 01e94a35
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -123,7 +123,7 @@ int tfa_set_swprofile(struct tfa_device *tfa, unsigned short new_value)


static int tfa_get_swprofile(struct tfa_device *tfa)
static int tfa_get_swprofile(struct tfa_device *tfa)
{
{
	return TFA_GET_BF(tfa, SWPROFIL) - 1;
	return tfa->profile;
}
}


static int tfa_set_swvstep(struct tfa_device *tfa, unsigned short new_value)
static int tfa_set_swvstep(struct tfa_device *tfa, unsigned short new_value)