From: Clemens Ladisch Date: Thu, 18 Nov 2010 08:53:07 +0000 (+0100) Subject: ALSA: pcm: optimize xrun detection in no-period-wakeup mode X-Git-Tag: v2.6.38-rc1~236^2~2^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47228e48aecdbec423a1275a5e27697d47f1f912;p=pandora-kernel.git ALSA: pcm: optimize xrun detection in no-period-wakeup mode Add a lightweight condition on top of the xrun checking so that we can avoid the division when the application is calling the update function often enough. Suggested-by: Jaroslav Kysela Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed