ASoC: SDCA: correct the calculation of the maximum init table size
authorShuming Fan <shumingf@realtek.com>
Mon, 21 Jul 2025 11:23:34 +0000 (19:23 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jul 2025 15:04:47 +0000 (16:04 +0100)
commit9e55f1192648a5b327f03c60e411126b3d19c5c5
tree4ae749825c7a131a0ea55b9cb8223ef45b4ec8aa
parentd312962188dd1f682b0351ccf9933334738ac462
ASoC: SDCA: correct the calculation of the maximum init table size

One initial setting is 5 bytes, so num_init_writes should divide by 5.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250721112334.388506-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_functions.c