diff options
| author | 2025-05-16 15:04:16 +0800 | |
|---|---|---|
| committer | 2025-05-16 09:56:46 +0200 | |
| commit | f616e702a2093805e3d5b912c98743230f37699f (patch) | |
| tree | 0555f5053ce6def05f1ff084674b328751e4a768 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | ALSA: usb-audio: Rename Pioneer mixer channel controls (diff) | |
ALSA: scarlett2: Use USB API functions rather than constants
Use the function usb_endpoint_num() rather than constants.
The Coccinelle semantic patch is as follows:
@@ struct usb_endpoint_descriptor *epd; @@
- (epd->bEndpointAddress & \(USB_ENDPOINT_NUMBER_MASK\|0x0f\))
+ usb_endpoint_num(epd)
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250516070416.12458-1-nichen@iscas.ac.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
