ASoC: codecs: Modify the wrong judgment of re value

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

Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
Link: https://lore.kernel.org/r/20231101090211.177125-3-wangweidong.a@awinic.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Weidong Wang 2023-11-01 17:02:09 +08:00 • committed by Mark Brown
commit baf46c3c76
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0