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

Commit d940ad31 authored by Laxminath Kasam's avatar Laxminath Kasam Committed by Gerrit - the friendly Code Review server
Browse files

asoc: codecs: Update power setting for CLS_H_LOHIFI mode



In new class-H driver used for tanggu or later variants,
use LP(low power) power setting for CLS_H_LOHIFI same
as tavil codec.

Change-Id: I6a0f6e6d39e5704d6ea429ae2f3698750b7ea487
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 96097f1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,6 @@ static void wcd_clsh_set_hph_mode(struct snd_soc_codec *codec,

	switch (mode) {
	case CLS_H_NORMAL:
	case CLS_H_LOHIFI:
		val = 0x00;
		break;
	case CLS_AB:
@@ -241,6 +240,7 @@ static void wcd_clsh_set_hph_mode(struct snd_soc_codec *codec,
		val = 0x08;
		break;
	case CLS_H_LP:
	case CLS_H_LOHIFI:
		val = 0x04;
		break;
	default: