diff options
| author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-11-20 13:44:36 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-20 16:04:21 +0000 |
| commit | 4dd7f8aeed4c85234f3855ef3188ed2202f2c947 (patch) | |
| tree | 028d2687e6ad5036a2651fed966894d9fc082696 /net/unix/af_unix.c | |
| parent | d7a82707f19c7a11ce42dd46cb22ca34a58cc9b0 (diff) | |
ASoC: cs35l56: Use SOC_ENUM_EXT_ACC() for CAL_SET_STATUS control
Use the new SOC_ENUM_EXT_ACC() macro instead of SOC_ENUM_EXT() to
define the CAL_SET_STATUS control, so that it is marked as read-only
and volatile.
This avoids userland code expecting to be able to write to it and
then getting an unexpected EPERM error, or assuming that its value
can never change.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251120134437.1179191-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions