Browse Source

[ALSA] Fix a typo in snd_assert()

Modules: CS46xx driver

Reported by <dcb314@hotmail.com> in
http://bugzilla.kernel.org/show_bug.cgi?id=5903

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Andrew Morton 19 years ago
parent
commit
2f25b7feab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/pci/cs46xx/dsp_spos_scb_lib.c

+ 1 - 1
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,