ASoC: loongson: Replace if with ternary operator
authorBinbin Zhou <zhoubinbin@loongson.cn>
Mon, 9 Sep 2024 07:19:36 +0000 (15:19 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2024 15:27:02 +0000 (16:27 +0100)
commitc7b626a8930d7029c096f0634ae6169af59d92b6
tree302d9945bbdc71a85edc112e99fa261076c4ce17
parente28ee1b8a92e6797fc652fa64e536178dd627e89
ASoC: loongson: Replace if with ternary operator

Replace an if statement with a ternary operator, making the code a tiny
bit shorter.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://patch.msgid.link/94ec2ac178610f50af4815ef5b719695915bba31.1725844530.git.zhoubinbin@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/loongson/loongson_i2s.c