diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-09-18 08:45:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-23 02:52:45 +0200 |
commit | 90bdbb46f41c9fa670d7b0709e0c8a92ad82bdfe (patch) | |
tree | 1ca0ab1f174ebd95b470a2b7f9a73abea8c342cb /sound/soc/codecs/rt5677.h | |
parent | ASoC: rt5677: Add the TDM function (diff) | |
download | linux-90bdbb46f41c9fa670d7b0709e0c8a92ad82bdfe.tar.xz linux-90bdbb46f41c9fa670d7b0709e0c8a92ad82bdfe.zip |
ASoC: rt5677: Add sidetone function
Add sidetone function
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5677.h b/sound/soc/codecs/rt5677.h index b61b72cfcbd7..1fe88727a063 100644 --- a/sound/soc/codecs/rt5677.h +++ b/sound/soc/codecs/rt5677.h @@ -382,6 +382,10 @@ #define RT5677_ST_SEL_SFT 9 #define RT5677_ST_EN (0x1 << 6) #define RT5677_ST_EN_SFT 6 +#define RT5677_ST_GAIN (0x1 << 5) +#define RT5677_ST_GAIN_SFT 5 +#define RT5677_ST_VOL_MASK (0x1f << 0) +#define RT5677_ST_VOL_SFT 0 /* Analog DAC1/2/3 Source Control (0x15) */ #define RT5677_ANA_DAC3_SRC_SEL_MASK (0x3 << 4) |