ASoC: ops: Factor out helper to check valid control values

Most of the put handlers have identical code to verify the value passed
in from user-space. Factor this out into a single helper function.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250318171459.3203730-6-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Charles Keepax 2025-03-18 17:14:49 +00:00 • committed by Mark Brown
commit eeb76cb1fa
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0