[PATCH 0/2] ASoC: codecs: Modify some error codes

From: wangweidong . a
Date: Wed Nov 01 2023 - 03:04:46 EST


From: Weidong Wang <wangweidong.a@xxxxxxxxxx>

An error code should be return when the re is greater
than the maximum value or less than the minimum value

The value of vsense_select should be either 32
or 0 in both cases, so modify the
AW88399_DEV_VDSEL_VSENSE macro to 32.

Weidong Wang (2):
ASoC: codecs: Modify the wrong judgment of re value
ASoC: codecs: Modify macro value error

sound/soc/codecs/aw88399.c | 4 ++--
sound/soc/codecs/aw88399.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)


base-commit: fa7d0c17278644aa691f96d08bef8001b762f9cd
--
2.41.0