ALSA: usb-audio: Unify the code for the next packet size calculation
There are two places calculating the next packet size for the playback stream in the exactly same way. Provide the single helper for this purpose and use it from both places gracefully. Tested-by: NKeith Milner <kamilner@superlative.org> Tested-by: NDylan Robinson <dylan_robinson@motu.com> Link: https://lore.kernel.org/r/20201123085347.19667-32-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
Showing
想要评论请 注册 或 登录