]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: codecs: Fix error handling in aw_dev_get_dsp_status function
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Wed, 9 Oct 2024 07:39:38 +0000 (00:39 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 11:15:01 +0000 (12:15 +0100)
commit251ce34a446ef0e1d6acd65cf5947abd5d10b8b6
tree24da4a6ec886b111c6a5c3b346d8d57f4be42388
parentd0e806b0cc6260b59c65e606034a63145169c04c
ASoC: codecs: Fix error handling in aw_dev_get_dsp_status function

Added proper error handling for register value check that
return -EPERM when register value does not meet expected condition

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20241009073938.7472-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/aw88399.c