Skip to content

Commit ff593ca

Browse files
author
Peter Ujfalusi
committed
ASoC: twl6040: No need to convert the PLL ID
Since the PLL handling has been simplified, and rebased on 0, there is no longer need for converting the PLL ID. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent cfb7a33 commit ff593ca

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎sound/soc/codecs/twl6040.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,10 +1101,7 @@ int twl6040_get_clk_id(struct snd_soc_codec *codec)
11011101
{
11021102
struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec);
11031103

1104-
if (priv->pll_power_mode)
1105-
return TWL6040_SYSCLK_SEL_HPPLL;
1106-
else
1107-
return TWL6040_SYSCLK_SEL_LPPLL;
1104+
return priv->pll_power_mode;
11081105
}
11091106
EXPORT_SYMBOL_GPL(twl6040_get_clk_id);
11101107

0 commit comments

Comments
 (0)