diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2015-02-07 00:55:50 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-09 18:01:21 +0300 |
commit | 0d59b814353d397ff5d00ac33acd536030252a98 (patch) | |
tree | f0204a290125e413b8ad4b07c89bcc231bd784c4 /include/asm-generic | |
parent | e4940626defdf6c92da1052ad3f12741c1a28c90 (diff) | |
download | linux-0d59b814353d397ff5d00ac33acd536030252a98.tar.xz |
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 <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions