diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2016-06-22 02:50:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-23 13:35:52 +0300 |
commit | 05f33bc5d6df03426e631cea5d1a8568d43ab07f (patch) | |
tree | e1f0294d8420d74f0b9f053d368081cd10958b6e /sound/soc/codecs/cs53l30.h | |
parent | b0e71c0ddda4e1540b38658cac705222a648c756 (diff) | |
download | linux-05f33bc5d6df03426e631cea5d1a8568d43ab07f.tar.xz |
ASoC: cs53l30: Add MUTE pin control support via GPIO
The codec chip has a physical MUTE pin to let users control it via
GPIO. So this patch add a mute control support to the driver.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs53l30.h')
-rw-r--r-- | sound/soc/codecs/cs53l30.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs53l30.h b/sound/soc/codecs/cs53l30.h index 0dd4afbb5c64..5e39da568749 100644 --- a/sound/soc/codecs/cs53l30.h +++ b/sound/soc/codecs/cs53l30.h @@ -253,6 +253,7 @@ #define CS53L30_MUTE_MB_ALL_PDN_MASK (1 << CS53L30_MUTE_MB_ALL_PDN_SHIFT) #define CS53L30_MUTE_MB_ALL_PDN (1 << CS53L30_MUTE_MB_ALL_PDN_SHIFT) +#define CS53L30_MUTEP_CTL1_MUTEALL (0xdf) #define CS53L30_MUTEP_CTL1_DEFAULT (0) /* R32 (0x20) CS53L30_MUTEP_CTL2 - MUTE Pin Control 2 */ |