diff options
author | 2018-06-21 17:22:48 +0200 | |
---|---|---|
committer | 2018-07-17 10:12:51 +0300 | |
commit | 6b37bd78d30c890e575a1bda22978d1d2a233362 (patch) | |
tree | fbd87fc72b94aca70809b7043467c106ca2bb0c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: u_audio: fix pcm/card naming in g_audio_setup() (diff) | |
download | wireguard-linux-6b37bd78d30c890e575a1bda22978d1d2a233362.tar.xz wireguard-linux-6b37bd78d30c890e575a1bda22978d1d2a233362.zip |
usb: gadget: u_audio: update hw_ptr in iso_complete after data copied
In u_audio_iso_complete, the runtime hw_ptr is updated before the
data is actually copied over to/from the buffer/dma area. When
ALSA uses this hw_ptr, the data may not actually be available to
be used. This causes trash/stale audio to play/record. This
patch updates the hw_ptr after the data has been copied to avoid
this.
Fixes: 132fcb460839 ("usb: gadget: Add Audio Class 2.0 Driver")
Signed-off-by: Joshua Frkuska <joshua_frkuska@mentor.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions