diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-07-24 21:08:13 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-07-24 21:08:13 +0300 |
commit | 43cbf02e7ad51007af38f39c5b2abdc7a5d7f5aa (patch) | |
tree | 1057babea8807af3f4a3c44fd116b7bbe99eb733 /sound/soc/codecs/ssm4567.c | |
parent | cba59972a1191a0c1647a52fe745eed7a4b34b38 (diff) | |
parent | 996034b117b467709dec7811ef134063934fa626 (diff) | |
download | linux-43cbf02e7ad51007af38f39c5b2abdc7a5d7f5aa.tar.xz |
Merge tag 'asoc-fix-v4.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v4.2
A lot of small fixes here, a few to the core:
- Fix for binding DAPM stream widgets on devices with prefixes assigned
to them
- Minor fixes for the newly added topology interfaces
- Locking and memory leak fixes for DAPM
- Driver specific fixes
Diffstat (limited to 'sound/soc/codecs/ssm4567.c')
-rw-r--r-- | sound/soc/codecs/ssm4567.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c index 938d2cb6d78b..84a4f5ad8064 100644 --- a/sound/soc/codecs/ssm4567.c +++ b/sound/soc/codecs/ssm4567.c @@ -315,7 +315,13 @@ static int ssm4567_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) if (invert_fclk) ctrl1 |= SSM4567_SAI_CTRL_1_FSYNC; - return regmap_write(ssm4567->regmap, SSM4567_REG_SAI_CTRL_1, ctrl1); + return regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_1, + SSM4567_SAI_CTRL_1_BCLK | + SSM4567_SAI_CTRL_1_FSYNC | + SSM4567_SAI_CTRL_1_LJ | + SSM4567_SAI_CTRL_1_TDM | + SSM4567_SAI_CTRL_1_PDM, + ctrl1); } static int ssm4567_set_power(struct ssm4567 *ssm4567, bool enable) |