Commit ff593ca1 authored by Peter Ujfalusi's avatar Peter Ujfalusi

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: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent cfb7a33b
...@@ -1101,10 +1101,7 @@ int twl6040_get_clk_id(struct snd_soc_codec *codec) ...@@ -1101,10 +1101,7 @@ int twl6040_get_clk_id(struct snd_soc_codec *codec)
{ {
struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec); struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec);
if (priv->pll_power_mode) return priv->pll_power_mode;
return TWL6040_SYSCLK_SEL_HPPLL;
else
return TWL6040_SYSCLK_SEL_LPPLL;
} }
EXPORT_SYMBOL_GPL(twl6040_get_clk_id); EXPORT_SYMBOL_GPL(twl6040_get_clk_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment