diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-18 15:53:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-18 15:53:36 -0500 |
commit | 9278e634b4e063f415b46923a9ca4e74f42ec932 (patch) | |
tree | ae5c5eef151bbfef5135a5cb04c23113d2f16fc8 /sound/soc/codecs | |
parent | d71f5be276bf79eda14c40f3cafcf827326f10cb (diff) | |
parent | 986b2f2c21b308e21160a40359b81370f8fee6ec (diff) |
Merge branch 'fix/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
* 'fix/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ASoC: Wait for WM8993 FLL to stabilise
ASoC: core - Free platform DAPM context at platform removal.
ASoC: dapm - Fix check for codec context in dapm_power_widgets().
ASoC: sgtl5000: update author email address
ASoC: Fix DMA channel leak in imx-pcm-dma-mx2 driver.
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8993.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index d7bd91831611..f8863ebb4304 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c | |||
@@ -1457,5 +1457,5 @@ static void __exit sgtl5000_exit(void) | |||
1457 | module_exit(sgtl5000_exit); | 1457 | module_exit(sgtl5000_exit); |
1458 | 1458 | ||
1459 | MODULE_DESCRIPTION("Freescale SGTL5000 ALSA SoC Codec Driver"); | 1459 | MODULE_DESCRIPTION("Freescale SGTL5000 ALSA SoC Codec Driver"); |
1460 | MODULE_AUTHOR("Zeng Zhaoming <zhaoming.zeng@freescale.com>"); | 1460 | MODULE_AUTHOR("Zeng Zhaoming <zengzm.kernel@gmail.com>"); |
1461 | MODULE_LICENSE("GPL"); | 1461 | MODULE_LICENSE("GPL"); |
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 2b40c93601ed..7c7fd925db8d 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c | |||
@@ -444,6 +444,12 @@ static int _wm8993_set_fll(struct snd_soc_codec *codec, int fll_id, int source, | |||
444 | /* Enable the FLL */ | 444 | /* Enable the FLL */ |
445 | snd_soc_write(codec, WM8993_FLL_CONTROL_1, reg1 | WM8993_FLL_ENA); | 445 | snd_soc_write(codec, WM8993_FLL_CONTROL_1, reg1 | WM8993_FLL_ENA); |
446 | 446 | ||
447 | /* Both overestimates */ | ||
448 | if (Fref < 1000000) | ||
449 | msleep(3); | ||
450 | else | ||
451 | msleep(1); | ||
452 | |||
447 | dev_dbg(codec->dev, "FLL enabled at %dHz->%dHz\n", Fref, Fout); | 453 | dev_dbg(codec->dev, "FLL enabled at %dHz->%dHz\n", Fref, Fout); |
448 | 454 | ||
449 | wm8993->fll_fref = Fref; | 455 | wm8993->fll_fref = Fref; |