diff options
author | Takashi Iwai <[email protected]> | 2020-11-23 09:53:37 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-11-23 15:16:13 +0100 |
commit | 3d58760f4d0015cc1e7765b580daa007d759d86b (patch) | |
tree | bca1eab6c6df12e77c1f98f0f46992fa4528ae30 /lib/mpi/mpi-bit.c | |
parent | 6aa719d15a1903eb3fd0e052ae53f3b024ad4d05 (diff) |
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: Keith Milner <[email protected]>
Tested-by: Dylan Robinson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions