diff options
author | Chris Rattray <crattray@opensource.wolfsonmicro.com> | 2013-01-18 12:43:09 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-18 12:46:28 +0400 |
commit | 94e205bfb73b6d19028dbd40404219fdeb27175e (patch) | |
tree | 2c6a6a0697e37d46124f0eec5d28f3a304fd8575 /sound/soc/codecs/wm_adsp.h | |
parent | c712326d6c1e74678791d5864cd2ed283e1cc572 (diff) | |
download | linux-94e205bfb73b6d19028dbd40404219fdeb27175e.tar.xz |
ASoC: wm_adsp: Set ADSP1 clock rate to match sys clock
Sets the ADSP1 clock rate to match the system clock
rate. To support this the codec driver provides
details of register containing the system clock
control bits.
Signed-off-by: Chris Rattray <crattray@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r-- | sound/soc/codecs/wm_adsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 41206d79e038..cb8871a3ec00 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -40,6 +40,9 @@ struct wm_adsp { struct regmap *regmap; int base; + int sysclk_reg; + int sysclk_mask; + int sysclk_shift; struct list_head alg_regions; |