diff options
| author | Charles Keepax <[email protected]> | 2025-07-18 13:54:31 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-07-24 12:28:08 +0000 |
| commit | 061fade7a67f6cdfe918a675270d84107abbef61 (patch) | |
| tree | db221496e660a107876bd0a8b0d239445a7b0a2e /include/sound/sdca_function.h | |
| parent | ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible (diff) | |
| download | kernel-061fade7a67f6cdfe918a675270d84107abbef61.tar.gz kernel-061fade7a67f6cdfe918a675270d84107abbef61.zip | |
ASoC: SDCA: Fix some holes in the regmap readable/writeable helpers
The current regmap readable/writeable helper functions always
allow the Next flag and allows any Control Number. Mask the Next
flag based on SDCA_ACCESS_MODE_DUAL which is the only Mode that
supports it. Also check that the Control Number is valid for
the given control.
Fixes: e3f7caf74b79 ("ASoC: SDCA: Add generic regmap SDCA helpers")
Signed-off-by: Charles Keepax <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/sound/sdca_function.h')
0 files changed, 0 insertions, 0 deletions
