diff options
| author | HyeongJun An <sammiee5311@gmail.com> | 2026-09-02 21:50:58 +0900 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-09-02 15:30:14 +0200 |
| commit | f4a23e17d84fd2a152d9e12369761934e1af0ee8 (patch) | |
| tree | 72e418d0860a5885a08c6eba3d32b67341e612be /scripts/Makefile.thinlto | |
| parent | adeee7187694719890aaffdc14b7e89cfd736f1d (diff) | |
| download | linux-f4a23e17d84fd2a152d9e12369761934e1af0ee8.tar.gz linux-f4a23e17d84fd2a152d9e12369761934e1af0ee8.zip | |
ALSA: rawmidi: Return the error from snd_rawmidi_input_params()
The snd_rawmidi_input_params() computes err for the three invalid mode
combinations and for resize_runtime_buffer(), applies the new framing
and clock type only when err is zero, and then returns 0 anyway. A
caller that asked for parameters the kernel rejected is told the change
succeeded, and the substream keeps its old buffer.
The open_mutex conversion turned the early returns into assignments.
It handled the output sibling correctly, which still returns err, and
left this one behind.
Fixes: 94b98194b62e ("ALSA: rawmidi: Take open_mutex around parameter changes")
Cc: stable@vger.kernel.org
Assisted-by: Claude:claude-opus-5
Signed-off-by: HyeongJun An <sammiee5311@gmail.com>
Link: https://patch.msgid.link/20260902125058.19499-1-sammiee5311@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
