mirror of https://gitee.com/openkylin/linux.git
b55bbf06e8
Modules: USB generic driver If we submit all our URBs when a playback stream is started, the first hwptr_done update for each URB happens at the same time. This results in an underrun when there isn't enough PCM data available at this point for all URBs. To avoid this, we begin submitting our URBs earlier (when the stream is prepared), with empy packets. When the stream is started, the prepare_playback_urb() call for each URB will be run only when the respective URB has completed previously, so the first hwptr_done updates will be done nicely staggered. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
usx2y | ||
Kconfig | ||
Makefile | ||
usbaudio.c | ||
usbaudio.h | ||
usbmidi.c | ||
usbmixer.c | ||
usbmixer_maps.c | ||
usbquirks.h |