diff options
| author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-11-20 13:44:37 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-20 16:04:22 +0000 |
| commit | 33822d795ab93067d9a65f42003c0d01c65d4a9d (patch) | |
| tree | d8ced4d661c0786e952d57676152ce8932d21fca /net/unix/af_unix.c | |
| parent | 4dd7f8aeed4c85234f3855ef3188ed2202f2c947 (diff) | |
ASoC: cs35l56: Use SND_SOC_BYTES_E_ACC() for CAL_DATA_RB control
Use the new SND_SOC_BYTES_E_ACC() macro instead of SND_SOC_BYTES_E()
to define the CAL_DATA_RB 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-5-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