From: Shengjiu Wang Date: Tue, 16 Sep 2014 02:13:16 +0000 (+0800) Subject: ASoC: fsl_ssi: refine ipg clock usage in this module X-Git-Tag: omap-for-v3.19/prcm-cleanup~125^2~8^2~5^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a43caba7d495699f98532b4faee90fd9980732;p=pandora-kernel.git ASoC: fsl_ssi: refine ipg clock usage in this module Check if ipg clock is in clock-names property, then we can move the ipg clock enable and disable operation to startup and shutdown, that is only enable ipg clock when ssi is working and keep clock is disabled when ssi is in idle. But when the checking is failed, remain the clock control as before. Tested-by: Markus Pargmann Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen Signed-off-by: Mark Brown --- Reading git-diff-tree failed