From: Oskar Schirmer Date: Mon, 5 Aug 2013 07:36:02 +0000 (+0000) Subject: ASoC: sgtl5000: fix codec clock source transition to avoid clockless moment X-Git-Tag: v3.12-rc1~150^2~9^2~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06e4c2d530fd4995c41083009647263ccd77d3b;p=pandora-kernel.git ASoC: sgtl5000: fix codec clock source transition to avoid clockless moment Powering down PLL before switching to a mode that does not use it is a bad idea. It would cause the SGTL5000 be without internal clock supply, especially on the I2C interface, which would make subsequent access to it fail. Thus, in case of not using PLL any longer, first set the mode control, then power down PLL. Signed-off-by: Oskar Schirmer Signed-off-by: Mark Brown --- Reading git-diff-tree failed