From: Fabio Estevam Date: Mon, 10 Jun 2013 01:07:46 +0000 (-0300) Subject: ASoC: sgtl5000: Let the codec acquire its clock X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e13f345887c179068bbc1f7389b7177bf88f57e;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed