diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-07-04 03:35:23 -0400 |
---|---|---|
committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-07-07 07:23:46 -0400 |
commit | ff593ca1a43042499cbe341fc91c9cc282c084cb (patch) | |
tree | f376c1b6c64313b546633fe6487a04666d93e13b /sound/soc/codecs/twl6040.c | |
parent | cfb7a33bea259d2d72a64adcb3de28532170dc25 (diff) |
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>
Diffstat (limited to 'sound/soc/codecs/twl6040.c')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index bd364c3a97c8..8784395c29d7 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -1101,10 +1101,7 @@ int twl6040_get_clk_id(struct snd_soc_codec *codec) | |||
1101 | { | 1101 | { |
1102 | struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec); | 1102 | struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec); |
1103 | 1103 | ||
1104 | if (priv->pll_power_mode) | 1104 | return priv->pll_power_mode; |
1105 | return TWL6040_SYSCLK_SEL_HPPLL; | ||
1106 | else | ||
1107 | return TWL6040_SYSCLK_SEL_LPPLL; | ||
1108 | } | 1105 | } |
1109 | EXPORT_SYMBOL_GPL(twl6040_get_clk_id); | 1106 | EXPORT_SYMBOL_GPL(twl6040_get_clk_id); |
1110 | 1107 | ||