[PATCH] ALSA: pcm: fix wait_time calculations