aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-08-06 14:46:50 +0200
committerTakashi Iwai <[email protected]>2024-08-06 18:27:08 +0200
commit901e85677ec0bb9a69fb9eab1feafe0c4eb7d07e (patch)
tree85df0b1e4caa8ec18eed26d89f8c7d81ec72a8a2 /scripts/stackusage
parent0079c9d1e58a39148e6ce13bda55307ea6aa3a9e (diff)
ALSA: usb-audio: Add input value sanity checks for standard types
For an invalid input value that is out of the given range, currently USB-audio driver corrects the value silently and accepts without errors. This is no wrong behavior, per se, but the recent kselftest rather wants to have an error in such a case, hence a different behavior is expected now. This patch adds a sanity check at each control put for the standard mixer types and returns an error if an invalid value is given. Note that this covers only the standard mixer types. The mixer quirks that have own control callbacks would need different coverage. Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions