From: Andrew Morton Date: Tue, 17 Jan 2006 17:31:42 +0000 (+0100) Subject: [ALSA] Fix a typo in snd_assert() X-Git-Tag: v2.6.16-rc2~1^2~7^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2f25b7feab257bae406f1edb44438a347a1cc727;p=linux-2.6-omap-h63xx.git [ALSA] Fix a typo in snd_assert() Modules: CS46xx driver Reported by in http://bugzilla.kernel.org/show_bug.cgi?id=5903 Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/cs46xx/dsp_spos_scb_lib.c b/sound/pci/cs46xx/dsp_spos_scb_lib.c index 509aa2b6333..d4e0fb39bd0 100644 --- a/sound/pci/cs46xx/dsp_spos_scb_lib.c +++ b/sound/pci/cs46xx/dsp_spos_scb_lib.c @@ -675,7 +675,7 @@ cs46xx_dsp_create_src_task_scb(struct snd_cs46xx * chip, char * scb_name, if (pass_through) { /* wont work with any other rate than the native DSP rate */ - snd_assert (rate = 48000); + snd_assert (rate == 48000); scb = cs46xx_dsp_create_generic_scb(chip,scb_name,(u32 *)&src_task_scb, dest,"DMAREADER",parent_scb,