]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: codecs: Use min() to simplify aw_dev_dsp_update_container()
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 29 Apr 2025 07:10:13 +0000 (09:10 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 30 Apr 2025 00:38:24 +0000 (09:38 +0900)
commit84dea31d33e0f4651eff6ee2e1e02804ff2529d2
tree6d68f0acf460ce5382e9ea0222147940c890c52c
parent00a371adbbfb46db561db85a9d7b53b2363880a1
ASoC: codecs: Use min() to simplify aw_dev_dsp_update_container()

Use min() to simplify aw_dev_dsp_update_container() and improve its
readability.

No functional changes intended.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250429071032.65391-2-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/aw88166.c
sound/soc/codecs/aw88395/aw88395_device.c
sound/soc/codecs/aw88399.c