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

ASoC: cs42l42: Convert comma to semicolon

Replace a comma between expression statements by a semicolon.

Fixes: 90f6a2a20bd2 ("ASoC: cs42l42: Add SoundWire support")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://patch.msgid.link/20240716025307.400156-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Chen Ni and committed by
Mark Brown
275d57ae d57ef033

+6 -6
+6 -6
sound/soc/codecs/cs42l42-sdw.c
··· 323 323 prop->scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY; 324 324 325 325 /* DP1 - capture */ 326 - ports[0].num = CS42L42_SDW_CAPTURE_PORT, 327 - ports[0].type = SDW_DPN_FULL, 328 - ports[0].ch_prep_timeout = 10, 326 + ports[0].num = CS42L42_SDW_CAPTURE_PORT; 327 + ports[0].type = SDW_DPN_FULL; 328 + ports[0].ch_prep_timeout = 10; 329 329 prop->src_dpn_prop = &ports[0]; 330 330 331 331 /* DP2 - playback */ 332 - ports[1].num = CS42L42_SDW_PLAYBACK_PORT, 333 - ports[1].type = SDW_DPN_FULL, 334 - ports[1].ch_prep_timeout = 10, 332 + ports[1].num = CS42L42_SDW_PLAYBACK_PORT; 333 + ports[1].type = SDW_DPN_FULL; 334 + ports[1].ch_prep_timeout = 10; 335 335 prop->sink_dpn_prop = &ports[1]; 336 336 337 337 return 0;