ALSA: riptide: postfix increment and off by one
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 13 May 2009 18:44:07 +0000 (20:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 May 2009 06:41:40 +0000 (08:41 +0200)
commit1b1cc7f21c51cc81992a547b59e174dd8c44d1bd
treeb1e9ee0cc5d8132078a5d5557e1292d0049fb5aa
parentb452e08e73c0e3dbb0be82130217be4b7084299e
ALSA: riptide: postfix increment and off by one

With a postfix increment these variables are incremented beyond
CMDIF_TIMEOUT / MAX_WRITE_RETRY.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/riptide/riptide.c