projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb7a33
)
ASoC: twl6040: No need to convert the PLL ID
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Mon, 4 Jul 2011 07:35:23 +0000
(10:35 +0300)
committer
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Thu, 7 Jul 2011 11:23:46 +0000
(14:23 +0300)
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>
sound/soc/codecs/twl6040.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/twl6040.c
b/sound/soc/codecs/twl6040.c
index bd364c3a97c847402faed82b5e4d833480684bb2..8784395c29d7d2a6addf46ded02bc8b31a0ff44b 100644
(file)
--- 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)
{
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);