diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2025-07-18 14:54:31 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-07-24 13:28:08 +0100 |
commit | 061fade7a67f6cdfe918a675270d84107abbef61 (patch) | |
tree | db221496e660a107876bd0a8b0d239445a7b0a2e /scripts/lib/kdoc/kdoc_output.py | |
parent | c58c35ef6ae62e36927f506a5afc66610b7261d9 (diff) |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions