mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
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>
This commit is contained in:
parent
cfb7a33bea
commit
ff593ca1a4
@ -1101,10 +1101,7 @@ int twl6040_get_clk_id(struct snd_soc_codec *codec)
|
||||
{
|
||||
struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec);
|
||||
|
||||
if (priv->pll_power_mode)
|
||||
return TWL6040_SYSCLK_SEL_HPPLL;
|
||||
else
|
||||
return TWL6040_SYSCLK_SEL_LPPLL;
|
||||
return priv->pll_power_mode;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(twl6040_get_clk_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user