summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l52.h
AgeCommit message (Collapse)AuthorFilesLines
2014-04-07ASoC: cs42l52: Fix mask for REVIDAxel Lin1-1/+1
BIT[0:2] of register 01h is REVID, so the mask for REVID should be 0x7. Also updates the code to use CS42L52_CHIP_REV_MASK. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-11-15Merge remote-tracking branch 'asoc/fix/fsl' into asoc-linusMark Brown1-1/+1
2013-11-15ASoC: cs42l52: Correct MIC CTL maskBrian Austin1-1/+1
The mask for CS42L52_MIC_CTL_TYPE_MASK was wrong keeping the mic config from being set correctly. Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
2013-10-26ASoC: cs42l52: increase MAX_REGISTER for regmap_register_patchBrian Austin1-1/+1
regmap_register_patch fails without the MAX_REGISTER set to highest register written to. Increase to register 0x47 Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-05-22ASoC: cs42l52: fix master playback mute mask.Nicolas Schichan1-1/+1
The mask should define the bits to change in the register, not the bits to preserve. This fixes the inadvertent changes of the "Headphone Analog Gain" value during mute/unmute. Signed-off-by: Nicolas Schichan <nschichan@freebox.fr> Acked-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-05-01ASoC: Add support for CS42L52 CodecBrian Austin1-0/+274
This patch adds support for Cirrus Logic CS42L52 Low Power Stereo Codec Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Georgi Vlaev <joe@nucleusys.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>