All of lore.kernel.org
 help / color / mirror / Atom feed
* cmi8330: revert comments about AD1848 back
@ 2009-06-27 14:26 Ondrej Zary
  2009-06-29  6:16 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2009-06-27 14:26 UTC (permalink / raw)
  To: alsa-devel

In ALSA 1.0.20, the comments were changed to say CMI8330 instead of AD1848.
The CMI8330 chip includes two codecs - AD1848 and SB16, so the comments were
correct and are misleading now. Revert them back.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

--- linux-2.6.30-orig/sound/isa/cmi8330.c	2009-06-10 05:05:27.000000000 +0200
+++ linux-test/sound/isa/cmi8330.c	2009-06-27 16:20:51.000000000 +0200
@@ -35,7 +35,7 @@
  *
  *  This card has two mixers and two PCM devices.  I've cheesed it such
  *  that recording and playback can be done through the same device.
- *  The driver "magically" routes the capturing to the CMI8330 codec,
+ *  The driver "magically" routes the capturing to the AD1848 codec,
  *  and playback to the SB16 codec.  This allows for full-duplex mode
  *  to some extent.
  *  The utilities in alsa-utils are aware of both devices, so passing
@@ -345,7 +345,7 @@
 
 	err = pnp_activate_dev(pdev);
 	if (err < 0) {
-		snd_printk(KERN_ERR "CMI8330/C3D PnP configure failure\n");
+		snd_printk(KERN_ERR "CMI8330/C3D (AD1848) PnP configure failure\n");
 		return -EBUSY;
 	}
 	wssport[dev] = pnp_port_start(pdev, 0);
@@ -527,11 +527,11 @@
 			     wssdma[dev], -1,
 			     WSS_HW_DETECT, 0, &acard->wss);
 	if (err < 0) {
-		snd_printk(KERN_ERR PFX "(CMI8330) device busy??\n");
+		snd_printk(KERN_ERR PFX "(AD1848) device busy??\n");
 		return err;
 	}
 	if (acard->wss->hardware != WSS_HW_CMI8330) {
-		snd_printk(KERN_ERR PFX "(CMI8330) not found during probe\n");
+		snd_printk(KERN_ERR PFX "(AD1848) not found during probe\n");
 		return -ENODEV;
 	}
 

-- 
Ondrej Zary

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cmi8330: revert comments about AD1848 back
  2009-06-27 14:26 cmi8330: revert comments about AD1848 back Ondrej Zary
@ 2009-06-29  6:16 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-06-29  6:16 UTC (permalink / raw)
  To: Ondrej Zary; +Cc: alsa-devel

At Sat, 27 Jun 2009 16:26:35 +0200,
Ondrej Zary wrote:
> 
> In ALSA 1.0.20, the comments were changed to say CMI8330 instead of AD1848.
> The CMI8330 chip includes two codecs - AD1848 and SB16, so the comments were
> correct and are misleading now. Revert them back.
> 
> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

Applied this one, too.


Takashi


> --- linux-2.6.30-orig/sound/isa/cmi8330.c	2009-06-10 05:05:27.000000000 +0200
> +++ linux-test/sound/isa/cmi8330.c	2009-06-27 16:20:51.000000000 +0200
> @@ -35,7 +35,7 @@
>   *
>   *  This card has two mixers and two PCM devices.  I've cheesed it such
>   *  that recording and playback can be done through the same device.
> - *  The driver "magically" routes the capturing to the CMI8330 codec,
> + *  The driver "magically" routes the capturing to the AD1848 codec,
>   *  and playback to the SB16 codec.  This allows for full-duplex mode
>   *  to some extent.
>   *  The utilities in alsa-utils are aware of both devices, so passing
> @@ -345,7 +345,7 @@
>  
>  	err = pnp_activate_dev(pdev);
>  	if (err < 0) {
> -		snd_printk(KERN_ERR "CMI8330/C3D PnP configure failure\n");
> +		snd_printk(KERN_ERR "CMI8330/C3D (AD1848) PnP configure failure\n");
>  		return -EBUSY;
>  	}
>  	wssport[dev] = pnp_port_start(pdev, 0);
> @@ -527,11 +527,11 @@
>  			     wssdma[dev], -1,
>  			     WSS_HW_DETECT, 0, &acard->wss);
>  	if (err < 0) {
> -		snd_printk(KERN_ERR PFX "(CMI8330) device busy??\n");
> +		snd_printk(KERN_ERR PFX "(AD1848) device busy??\n");
>  		return err;
>  	}
>  	if (acard->wss->hardware != WSS_HW_CMI8330) {
> -		snd_printk(KERN_ERR PFX "(CMI8330) not found during probe\n");
> +		snd_printk(KERN_ERR PFX "(AD1848) not found during probe\n");
>  		return -ENODEV;
>  	}
>  
> 
> -- 
> Ondrej Zary
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-29  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-27 14:26 cmi8330: revert comments about AD1848 back Ondrej Zary
2009-06-29  6:16 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.