projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714ffb8
)
ASoC: ti: davinci-i2s: Delete unnecessary assignment
author
Bastien Curutchet
<bastien.curutchet@bootlin.com>
Tue, 2 Apr 2024 07:12:06 +0000
(09:12 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 9 Apr 2024 15:58:37 +0000
(16:58 +0100)
In davinci_i2s_hw_params(), mcbsp_word_length is set twice to
asp_word_length[fmt].
Remove second unnecessary assignment.
Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link:
https://msgid.link/r/20240402071213.11671-7-bastien.curutchet@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/ti/davinci-i2s.c
b/sound/soc/ti/davinci-i2s.c
index 578b4ae28b710a8926a31b735069d44333d99919..a2c7c812ea5080e09d427c620edbd19e99725584 100644
(file)
--- a/
sound/soc/ti/davinci-i2s.c
+++ b/
sound/soc/ti/davinci-i2s.c
@@
-479,7
+479,6
@@
static int davinci_i2s_hw_params(struct snd_pcm_substream *substream,
return -EINVAL;
}
}
- mcbsp_word_length = asp_word_length[fmt];
switch (master) {
case SND_SOC_DAIFMT_BP_FP: