diff options
author | 2025-07-18 14:54:31 +0100 | |
---|---|---|
committer | 2025-07-24 13:28:08 +0100 | |
commit | 061fade7a67f6cdfe918a675270d84107abbef61 (patch) | |
tree | db221496e660a107876bd0a8b0d239445a7b0a2e /tools/perf/scripts/python | |
parent | ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible (diff) | |
download | wireguard-linux-061fade7a67f6cdfe918a675270d84107abbef61.tar.xz wireguard-linux-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 <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250718135432.1048566-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions