From: Pierre-Louis Bossart Date: Fri, 6 Feb 2015 21:55:50 +0000 (-0600) Subject: ALSA: pcm: don't override timestamp unconditionally X-Git-Tag: fixes-v4.0-rc1~146^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d59b814353d397ff5d00ac33acd536030252a98;p=pandora-kernel.git ALSA: pcm: don't override timestamp unconditionally timestamp in RUNNING mode is already taken in update_hw_ptr routine, getting a new timestamp introduces offset between hw_ptr, audio_tstamp and system time Add else condition to read timestamp as fallback and only when enabled Signed-off-by: Pierre-Louis Bossart Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed