summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2017-03-08 16:42:49 +0000
committerMark Brown <broonie@kernel.org>2017-03-13 16:09:17 +0000
commit8d45f2d23864ae1582d095c54605540cd3640169 (patch)
treef9b1a57d779269195aa8f4e27a3b932b103687ea /include/sound
parent45114c364d476ba0bbc294d63955f49fbf378779 (diff)
downloadlinux-stable-8d45f2d23864ae1582d095c54605540cd3640169.tar.gz
linux-stable-8d45f2d23864ae1582d095c54605540cd3640169.tar.bz2
linux-stable-8d45f2d23864ae1582d095c54605540cd3640169.zip
ASoC: cs35l35: Add for configuring drive mode in unused slots
Add support for setting how the I2S pins are driven in unused slots, currently the chip will just use the default of drive 0, however this causes issues when multiple devices are attached to the same bus. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs35l35.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/cs35l35.h b/include/sound/cs35l35.h
index de92e452bf93..983c610eba2e 100644
--- a/include/sound/cs35l35.h
+++ b/include/sound/cs35l35.h
@@ -80,6 +80,8 @@ struct cs35l35_platform_data {
bool stereo;
/* serial port drive strength */
int sp_drv_str;
+ /* serial port drive in unused slots */
+ int sp_drv_unused;
/* Boost Power Down with FET */
bool bst_pdn_fet_on;
/* Boost Voltage : used if ClassH Algo Enabled */