summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolin Chen <b42378@freescale.com>2013-08-05 16:26:16 +0800
committerJason Liu <r64343@freescale.com>2013-08-23 07:30:08 +0800
commit89c6977256c5caf9a3c24e762b38b54e2877287b (patch)
tree2b07fac32567b830642b62bb5b74c3b398984ab5 /include
parenta9a41814511215bf3a447f6fa12693b043bfc5a0 (diff)
ENGR00273838-8 ASoC: WM8962: Let codec driver enable/disable its MCLK
WM8962 needs its MCLK when powerup -- wm8962_resume(). Thus it's better to control the MCLK in codec driver. Thus remove the clock enable in machine dirver accordingly. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/wm8962.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/wm8962.h b/include/sound/wm8962.h
index 79e6d427b858..fb261851da21 100644
--- a/include/sound/wm8962.h
+++ b/include/sound/wm8962.h
@@ -55,6 +55,9 @@ struct wm8962_pdata {
* in a DC measurement configuration.
*/
bool in4_dc_measure;
+
+ /* MCLK for wm8962 */
+ struct clk *codec_mclk;
};
#endif