]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commit690eceb58ca900a55ae0cec5e8770ac166a881d8
treed4cb76b81691fd959e8194d65cb036e3aac02040
parente035b841015251062316cb60b47d1f11d2703f6d
[ALSA] ASoC: sh: improve generated code for HAC module (AC97)

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>
sound/soc/sh/hac.c