mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
parent
63f4815535
commit
ea2b058566
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
|
|
@ -243,7 +243,6 @@ static void wcd_clsh_set_hph_mode(struct snd_soc_component *component,
|
|||
|
||||
switch (mode) {
|
||||
case CLS_H_NORMAL:
|
||||
case CLS_H_LOHIFI:
|
||||
val = 0x00;
|
||||
break;
|
||||
case CLS_AB:
|
||||
|
|
@ -255,6 +254,7 @@ static void wcd_clsh_set_hph_mode(struct snd_soc_component *component,
|
|||
val = 0x08;
|
||||
break;
|
||||
case CLS_H_LP:
|
||||
case CLS_H_LOHIFI:
|
||||
val = 0x04;
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue