projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daf5e3c
)
ASoC: mediatek: mt8188: remove unnecessary variable assignment
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Wed, 16 Oct 2024 01:18:51 +0000
(09:18 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 17 Oct 2024 11:13:12 +0000
(12:13 +0100)
In the function mt8188_adda_mtkaif_init, 'val' to 0 is repeated,
thus delete one.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link:
https://patch.msgid.link/20241016011851.2023-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8188/mt8188-dai-adda.c
patch
|
blob
|
history
diff --git
a/sound/soc/mediatek/mt8188/mt8188-dai-adda.c
b/sound/soc/mediatek/mt8188/mt8188-dai-adda.c
index
8a17d19
..
4367031
100644
(file)
--- a/
sound/soc/mediatek/mt8188/mt8188-dai-adda.c
+++ b/
sound/soc/mediatek/mt8188/mt8188-dai-adda.c
@@
-63,7
+63,6
@@
static int mt8188_adda_mtkaif_init(struct mtk_base_afe *afe)
param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0];
}
- val = 0;
mask = (MTKAIF_RXIF_DELAY_DATA | MTKAIF_RXIF_DELAY_CYCLE_MASK);
val |= FIELD_PREP(MTKAIF_RXIF_DELAY_CYCLE_MASK, delay_cycle);
val |= FIELD_PREP(MTKAIF_RXIF_DELAY_DATA, delay_data);