summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-10-25 15:56:35 +0200
committerTakashi Iwai <tiwai@suse.de>2016-10-25 16:00:46 +0200
commit9b50898ad96c793a8f7cde9d8f281596d752a7dd (patch)
tree5a352f4afed811ce33b0a8ea378c36b89df1b6a7 /sound/usb
parent1a3f099101b85cc93d864eb030d97e7725c72ea7 (diff)
downloadblackbird-obmc-linux-9b50898ad96c793a8f7cde9d8f281596d752a7dd.tar.gz
blackbird-obmc-linux-9b50898ad96c793a8f7cde9d8f281596d752a7dd.zip
ALSA: seq: Fix time account regression
The recent rewrite of the sequencer time accounting using timespec64 in the commit [3915bf294652: ALSA: seq_timer: use monotonic times internally] introduced a bad regression. Namely, the time reported back doesn't increase but goes back and forth. The culprit was obvious: the delta is stored to the result (cur_time = delta), instead of adding the delta (cur_time += delta)! Let's fix it. Fixes: 3915bf294652 ('ALSA: seq_timer: use monotonic times internally') Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=177571 Reported-by: Yves Guillemot <yc.guillemot@wanadoo.fr> Cc: <stable@vger.kernel.org> # v4.8+ Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud