projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b5e76
)
ASoC: ssm2518: Fix trivial typo in checking tx_mask and rx_mask values
author
Axel Lin
<axel.lin@ingics.com>
Mon, 10 Jun 2013 14:23:53 +0000
(22:23 +0800)
committer
Mark Brown
<broonie@linaro.org>
Wed, 12 Jun 2013 15:20:44 +0000
(16:20 +0100)
Otherwise, ssm2518_set_tdm_slot() always returns error if slots != 0.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/ssm2518.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/ssm2518.c
b/sound/soc/codecs/ssm2518.c
index 3139a1bde2950a344df44903bfda8e5d02f9455a..95aed552139a1a363bd54d8d88bc7a97486beb81 100644
(file)
--- a/
sound/soc/codecs/ssm2518.c
+++ b/
sound/soc/codecs/ssm2518.c
@@
-539,7
+539,7
@@
static int ssm2518_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
SSM2518_REG_SAI_CTRL1, SSM2518_SAI_CTRL1_SAI_MASK,
SSM2518_SAI_CTRL1_SAI_I2S);
- if (tx_mask == 0 ||
t
x_mask != 0)
+ if (tx_mask == 0 ||
r
x_mask != 0)
return -EINVAL;
if (slots == 1) {