Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: mediatek: mt8188: remove unnecessary variable assignment

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>

authored by

Tang Bin and committed by
Mark Brown
d3170359 daf5e3c6

-1
-1
sound/soc/mediatek/mt8188/mt8188-dai-adda.c
··· 63 63 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0]; 64 64 } 65 65 66 - val = 0; 67 66 mask = (MTKAIF_RXIF_DELAY_DATA | MTKAIF_RXIF_DELAY_CYCLE_MASK); 68 67 val |= FIELD_PREP(MTKAIF_RXIF_DELAY_CYCLE_MASK, delay_cycle); 69 68 val |= FIELD_PREP(MTKAIF_RXIF_DELAY_DATA, delay_data);