diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2024-09-09 15:19:34 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-09 16:27:01 +0100 |
commit | e28ee1b8a92e6797fc652fa64e536178dd627e89 (patch) | |
tree | 957a6088e1537402ea3c23d4ea8d80c02f666511 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3d2528d6c021cba141a7079ae1a5937190700899 (diff) |
ASoC: loongson: Simplify if statment in loongson_card_hw_params()
Deal with illegal conditions first and put the normal process code
outside the if condition to improve code readability.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://patch.msgid.link/98b71f9643970f11bc500c01599c7aeb77ff2a58.1725844530.git.zhoubinbin@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions