diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-11-05 13:42:53 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-07 11:19:06 +0000 |
commit | 19ba484d7b15c8650b30377aad6e65b34d3cf3d5 (patch) | |
tree | 8f08eb06fa652fd228a96fe0f637aeb7513c8815 /sound/soc/codecs/rt5677.h | |
parent | d65fd3a42e00d322448f2518db6a3f0eb12ce1bd (diff) | |
download | linux-stable-19ba484d7b15c8650b30377aad6e65b34d3cf3d5.tar.gz linux-stable-19ba484d7b15c8650b30377aad6e65b34d3cf3d5.tar.bz2 linux-stable-19ba484d7b15c8650b30377aad6e65b34d3cf3d5.zip |
ASoC: rt5677: Use specific r/w function for DSP mode
In DSP mode, the register r/w should use the specific function to access
that is invoked by address mapping of the DSP.
The MX-65[1] is for switching DSP or codec mode.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5677.h')
-rw-r--r-- | sound/soc/codecs/rt5677.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5677.h b/sound/soc/codecs/rt5677.h index 2f5b8c6c279e..9d473b2798d5 100644 --- a/sound/soc/codecs/rt5677.h +++ b/sound/soc/codecs/rt5677.h @@ -1628,7 +1628,7 @@ enum { struct rt5677_priv { struct snd_soc_codec *codec; struct rt5677_platform_data pdata; - struct regmap *regmap; + struct regmap *regmap, *regmap_physical; const struct firmware *fw1, *fw2; struct mutex dsp_cmd_lock; @@ -1646,6 +1646,7 @@ struct rt5677_priv { #endif bool dsp_vad_en; struct regmap_irq_chip_data *irq_data; + bool is_dsp_mode; }; #endif /* __RT5677_H__ */ |