diff options
| author | Takashi Iwai <[email protected]> | 2024-11-27 07:02:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-04 15:26:34 +0000 |
| commit | 82937056967da052cbc04b4435c13db84192dc52 (patch) | |
| tree | 2664991c72525336d6d6177b8efbff456e4b52fa /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | usb: dwc3: imx8mp: fix software node kernel dump (diff) | |
| download | kernel-82937056967da052cbc04b4435c13db84192dc52.tar.gz kernel-82937056967da052cbc04b4435c13db84192dc52.zip | |
usb: gadget: midi2: Fix interpretation of is_midi1 bits
The UMP Function Block info m1.0 field (represented by is_midi1 sysfs
entry) is an enumeration from 0 to 2, while the midi2 gadget driver
incorrectly copies it to the corresponding snd_ump_block_info.flags
bits as-is. This made the wrong bit flags set when m1.0 = 2.
This patch corrects the wrong interpretation of is_midi1 bits.
Fixes: 29ee7a4dddd5 ("usb: gadget: midi2: Add configfs support")
Cc: [email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
