]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: loongson: Add the correct judgement return
authorTang Bin <tangbin@cmss.chinamobile.com>
Tue, 10 Sep 2024 02:11:04 +0000 (10:11 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2024 11:40:25 +0000 (12:40 +0100)
commit5e6f78cb5f53c52a11090657e917d2d7202aea23
treecc3a32fd80f63eb9ce2855da753f53ad4b90d388
parent86a7f453e99c3c202ac1623557e4f57bd73fc88c
ASoC: loongson: Add the correct judgement return

Use the function dev_err_probe can simplify code, but
the error return should not be deleted, that is
unreasonable, thus fix it.

Fixes: 3d2528d6c021 ("ASoC: loongson: Simplify with dev_err_probe()")
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240910021104.3400-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/loongson/loongson_card.c
sound/soc/loongson/loongson_i2s_pci.c