diff options
| author | Mark Brown <[email protected]> | 2022-04-20 19:34:53 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-04-25 12:58:15 +0000 |
| commit | 2fbe467bcbfc760a08f08475eea6bbd4c2874319 (patch) | |
| tree | d6f2bffd09814adbe40b1c86dec5d5dc6460a906 /lib/debugobjects.c | |
| parent | ASoC: rt9120: Correct the reg 0x09 size to one byte (diff) | |
| download | kernel-2fbe467bcbfc760a08f08475eea6bbd4c2874319.tar.gz kernel-2fbe467bcbfc760a08f08475eea6bbd4c2874319.zip | |
ASoC: max98090: Reject invalid values in custom control put()
The max98090 driver has a custom put function for some controls which can
only be updated in certain circumstances which makes no effort to validate
that input is suitable for the control, allowing out of spec values to be
written to the hardware and presented to userspace. Fix this by returning
an error when invalid values are written.
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
