OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c5cc6
)
ASoC: tas2562: Remove duplicate code for I/V sense
author
Dan Murphy
<dmurphy@ti.com>
Tue, 22 Sep 2020 14:24:11 +0000
(09:24 -0500)
committer
Mark Brown
<broonie@kernel.org>
Tue, 22 Sep 2020 15:04:20 +0000
(16:04 +0100)
Remove duplicate code for programming the I/V sense the call to update
the register was duplicated in commit
09ed395b05feb
("ASoC: tas2562:
Add voltage sense slot configuration").
Fixes:
09ed395b05feb
("ASoC: tas2562: Add voltage sense slot configuration")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link:
https://lore.kernel.org/r/20200922142411.10364-1-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2562.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas2562.c
b/sound/soc/codecs/tas2562.c
index
da820e8
..
f1ff204
100644
(file)
--- a/
sound/soc/codecs/tas2562.c
+++ b/
sound/soc/codecs/tas2562.c
@@
-253,18
+253,6
@@
static int tas2562_set_dai_tdm_slot(struct snd_soc_dai *dai,
if (ret < 0)
return ret;
- ret = snd_soc_component_update_bits(component, TAS2562_TDM_CFG5,
- TAS2562_TDM_CFG5_VSNS_SLOT_MASK,
- tas2562->v_sense_slot);
- if (ret < 0)
- return ret;
-
- ret = snd_soc_component_update_bits(component, TAS2562_TDM_CFG6,
- TAS2562_TDM_CFG6_ISNS_SLOT_MASK,
- tas2562->i_sense_slot);
- if (ret < 0)
- return ret;
-
return 0;
}