diff options
author | 2025-05-16 15:09:38 +0800 | |
---|---|---|
committer | 2025-05-16 09:57:00 +0200 | |
commit | 1c116e5569ef3bd33be1d6f687b0270c0932838d (patch) | |
tree | 7bdb3868e5dbdb941bbcbfe734bb55e51226ef33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: scarlett2: Use USB API functions rather than constants (diff) | |
download | linux-rng-1c116e5569ef3bd33be1d6f687b0270c0932838d.tar.xz linux-rng-1c116e5569ef3bd33be1d6f687b0270c0932838d.zip |
ALSA: usb: fcp: 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/20250516070938.12520-1-nichen@iscas.ac.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions