From: Peter Ujfalusi Date: Thu, 8 Mar 2012 11:34:16 +0000 (+0200) Subject: ASoC: omap-mcbsp: Correct clock muxing for CLKR/FSR signals X-Git-Tag: v3.4-rc1~144^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5788c62e72b8484836ae6587c7fb65757a777a3a;p=pandora-kernel.git ASoC: omap-mcbsp: Correct clock muxing for CLKR/FSR signals Remove the no longer valid check for McBSP1 regarding to signal mux selection (on OMAP4 McBSP4 has 6 pin setup). Only clear the srgr2, pcr0 register configuration if the requested clock configuration will actually going to touch it. In this way we can avoid issues if the CLKR/FSR mux has been configured after the clock selection. We are going to check for the valid McBSP port in the omap_mcbsp_6pin_src_mux() function based on the validity of the mux_signal callback (which is only valid for ports having 6 pin setup). Signed-off-by: Peter Ujfalusi Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed