]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: aw88399: Correct error handling in aw_dev_get_dsp_status function
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Tue, 8 Oct 2024 02:59:23 +0000 (19:59 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 8 Oct 2024 09:49:20 +0000 (10:49 +0100)
commit53189ae7aa1eeabd937c7a4d1f41e40513597d2c
treebc7ca8c416ffd49b70f1b2434def841e27118415
parent5cd575a87f141e438b3e062533bf0c6cc9eba99a
ASoC: aw88399: Correct 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/20241008025923.10606-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/aw88399.c