[ALSA] ASoC: sh: improve generated code for HAC module (AC97)
authorManuel Lauss <mano@roarinelk.homelinux.net>
Tue, 6 Nov 2007 10:56:17 +0000 (11:56 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:17 +0000 (17:29 +0100)
Change loops in ac97_read/write functions to count down to zero
rather than up. Gcc will then use the 'dt' (decrement-and-test) op
instead of an increment/compare op-pair.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found