]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: starfive: Use max() to simplify code in jh7110_tdm_syncdiv()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 24 Apr 2025 13:36:49 +0000 (15:36 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 25 Apr 2025 12:20:00 +0000 (13:20 +0100)
commit0787a08ae785366b9473905fc8bf23f165a08b8d
treeeae832127ad69c013dc1a382c5e5bb82461272c0
parent4814a8e03a18d44ab4df77bd79a9fe224e0e2abc
ASoC: starfive: Use max() to simplify code in jh7110_tdm_syncdiv()

Use max() to simplify jh7110_tdm_syncdiv() and improve its readability.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250424133648.86459-2-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/starfive/jh7110_tdm.c