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

From: wangweidong . a
Date: Wed Nov 01 2023 - 05:02:46 EST


From: Weidong Wang <wangweidong.a@xxxxxxxxxx>

The maximum value that calib can set should be
consistent with the maximum value of re.

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.

v1 -> v2: Added changes to the calib range

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

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


base-commit: fa7d0c17278644aa691f96d08bef8001b762f9cd
--
2.41.0