linux/sound/soc
Fabio Estevam 9e13f34588 ASoC: sgtl5000: Let the codec acquire its clock
On a mx6qsabrelite board the following error happens on probe:

sgtl5000: probe of 0-000a failed with error -5
imx-sgtl5000 sound.13: ASoC: CODEC (null) not registered
imx-sgtl5000 sound.13: snd_soc_register_card failed (-517)
platform sound.13: Driver imx-sgtl5000 requests probe defer

Prior to reading the codec ID we need to turn the SYS_MCLK clock, so let's
enable the codec clock inside sgtl5000_i2c_probe().

Also remove the codec clock enable/disable functions from the machine driver.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-06-10 10:26:23 +01:00
..
atmel Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
au1x ASoC: switch over to use snd_soc_register_component() on au1x ac97c 2013-03-26 21:55:24 +00:00
blackfin ASoC: switch over to use snd_soc_register_component() on bf5xx tdm 2013-03-26 21:55:25 +00:00
cirrus Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
codecs ASoC: sgtl5000: Let the codec acquire its clock 2013-06-10 10:26:23 +01:00
davinci ASoC: Updates for v3.10 2013-05-03 11:39:36 +02:00
dwc ASoC: switch over to use snd_soc_register_component() on dw i2s 2013-03-26 21:55:22 +00:00
fsl ASoC: sgtl5000: Let the codec acquire its clock 2013-06-10 10:26:23 +01:00
generic ASoC: simple-card: add asoc_simple_dai for initializing 2013-01-14 06:55:43 +09:00
jz4740 ASoC: switch over to use snd_soc_register_component() on jz4740 i2s 2013-03-26 21:57:12 +00:00
kirkwood ASoC: switch over to use snd_soc_register_component() on kirkwood i2s 2013-03-26 21:57:19 +00:00
mid-x86 Merge remote-tracking branch 'asoc/topic/compress' into asoc-next 2013-04-12 13:56:57 +01:00
mxs ASoC: mxs-sgtl5000: Remove unneeded fields from snd_soc_dai_link 2013-05-12 20:50:02 +04:00
nuc900 ASoC: switch over to use snd_soc_register_component() on nuc900 ac97 2013-03-26 21:57:22 +00:00
omap Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
pxa Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
s6000 ASoC: switch over to use snd_soc_register_component() on s6000 i2s 2013-03-26 21:57:30 +00:00
samsung Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next 2013-04-12 13:57:13 +01:00
sh Merge remote-tracking branch 'asoc/topic/fsi' into asoc-next 2013-04-12 13:57:05 +01:00
spear Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
tegra Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
txx9 ASoC: switch over to use snd_soc_register_component() on txx9aclc ac97 2013-03-26 21:57:51 +00:00
ux500 sound updates for v3.10-rc1 2013-05-03 09:10:23 -07:00
Kconfig ASoC: Add a generic dmaengine_pcm driver 2013-04-17 14:21:25 +01:00
Makefile ASoC: Add a generic dmaengine_pcm driver 2013-04-17 14:21:25 +01:00
soc-cache.c ASoC: cache: Standardise ASoC cache messages 2012-11-21 11:39:51 +09:00
soc-compress.c ASoC: soc-compress: Deduce stream direction 2013-04-21 09:53:43 +02:00
soc-core.c Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-23 19:26:00 +01:00
soc-dapm.c ASoC: Updates for v3.10 2013-05-03 11:39:36 +02:00
soc-dmaengine-pcm.c ASoC: dmaengine_pcm: Add support for compat platforms 2013-04-17 14:21:36 +01:00
soc-generic-dmaengine-pcm.c ASoC: generic-dmaengine-pcm: call dma_request_slave_channel() 2013-04-23 11:34:29 +01:00
soc-io.c ASoC: core: Use PTR_RET function 2013-03-26 14:12:01 +00:00
soc-jack.c Merge remote-tracking branch 'asoc/topic/log' into asoc-next 2012-12-10 00:22:14 +09:00
soc-pcm.c Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2013-02-11 11:06:30 +00:00
soc-utils.c ASoC: define playback and capture streams in dummy codec 2013-04-17 14:29:36 +01:00