diff options
| author | Takashi Iwai <tiwai@suse.de> | 2025-12-02 08:08:27 +0100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-12-02 08:09:51 +0100 |
| commit | cf5425e207351c962990da6a69aebec5948cc1f3 (patch) | |
| tree | 52ee35b49d59cb96f1e573db892e8b697ee6aef3 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | a30fa812222278ba8484f1817ea772960e3038c3 (diff) | |
ALSA: usb-audio: Simplify with usb_endpoint_max_periodic_payload()
Recently we received a new helper function,
usb_endpoint_max_periodic_payload(), for calculating the max packet
size for periodic transfer.
Simplify the former open code with the new helper function.
Fixes: a748e1dbb2df ("ALSA: usb-audio: Fix max bytes-per-interval calculation")
Suggested-by: Michal Pecio <michal.pecio@gmail.com>
Link: https://lore.kernel.org/20251124210518.90054-1-dylan_robinson@motu.com
Link: https://patch.msgid.link/20251202070828.145656-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
