ASoC: msm: avoid negative time stamp check

Time stamp is unsigned. There is no need to check for
negative value.

Change-Id: I15e380f81e46908f6a9fe8d29c174de1b7c33173
CRs-fixed: 423372
Signed-off-by: Patrick Lai <plai@codeaurora.org>
This commit is contained in:
Patrick Lai
2013-01-06 00:52:34 -08:00
committed by Iliyan Malchev
parent cd39a1efba
commit c58e2f4bb2
9 changed files with 36 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
/* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -320,7 +320,7 @@ int q6asm_set_lrgain(struct audio_client *ac, int left_gain, int right_gain);
/* Enable Mute/unmute flag */
int q6asm_set_mute(struct audio_client *ac, int muteflag);
uint64_t q6asm_get_session_time(struct audio_client *ac);
int q6asm_get_session_time(struct audio_client *ac, uint64_t *tstamp);
/* Client can set the IO mode to either AIO/SIO mode */
int q6asm_set_io_mode(struct audio_client *ac, uint32_t mode);