summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5677.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2014-11-05 08:42:53 +0300
committerMark Brown <broonie@kernel.org>2014-11-07 14:19:06 +0300
commit19ba484d7b15c8650b30377aad6e65b34d3cf3d5 (patch)
tree8f08eb06fa652fd228a96fe0f637aeb7513c8815 /sound/soc/codecs/rt5677.h
parentd65fd3a42e00d322448f2518db6a3f0eb12ce1bd (diff)
downloadlinux-19ba484d7b15c8650b30377aad6e65b34d3cf3d5.tar.xz
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.h3
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__ */