diff mbox

[1/6] ESI W192M : Correct copy/paste from prodigy driver

Message ID 5508d452.4160b40a.64fa.44e3@mx.google.com (mailing list archive)
State New, archived
Headers show

Commit Message

klem.dev@gmail.com March 18, 2015, 1:26 a.m. UTC
From: Clément Guedez <klem.dev@gmail.com>

Correct copy/paste name from prodigy driver, no behaviour change, only name.

Signed-off-by: Clément Guedez <klem.dev@gmail.com>

Comments

Takashi Iwai March 18, 2015, 9:42 a.m. UTC | #1
At Wed, 18 Mar 2015 02:26:26 +0100,
klem.dev@gmail.com wrote:
> 
> From: Clément Guedez <klem.dev@gmail.com>
> 
> Correct copy/paste name from prodigy driver, no behaviour change, only name.
> 
> Signed-off-by: Clément Guedez <klem.dev@gmail.com>

Applied all six patches now.  Thanks.


Takashi

> 
> diff --git a/sound/pci/ice1712/wtm.c b/sound/pci/ice1712/wtm.c
> index bcf30a3..f65ac19 100644
> --- a/sound/pci/ice1712/wtm.c
> +++ b/sound/pci/ice1712/wtm.c
> @@ -463,7 +463,7 @@ static int wtm_add_controls(struct snd_ice1712 *ice)
>  
>  static int wtm_init(struct snd_ice1712 *ice)
>  {
> -	static unsigned short stac_inits_prodigy[] = {
> +	static unsigned short stac_inits_wtm[] = {
>  		STAC946X_RESET, 0,
>  		(unsigned short)-1
>  	};
> @@ -475,7 +475,7 @@ static int wtm_init(struct snd_ice1712 *ice)
>  	ice->force_rdma1 = 1;
>  
>  	/*initialize codec*/
> -	p = stac_inits_prodigy;
> +	p = stac_inits_wtm;
>  	for (; *p != (unsigned short)-1; p += 2) {
>  		stac9460_put(ice, p[0], p[1]);
>  		stac9460_2_put(ice, p[0], p[1]);
> -- 
> 2.1.4
>
klem.dev@gmail.com March 18, 2015, 2:13 p.m. UTC | #2
Great ! Thanks a lot.

2015-03-18 10:42 GMT+01:00 Takashi Iwai <tiwai@suse.de>:

> At Wed, 18 Mar 2015 02:26:26 +0100,
> klem.dev@gmail.com wrote:
> >
> > From: Clément Guedez <klem.dev@gmail.com>
> >
> > Correct copy/paste name from prodigy driver, no behaviour change, only
> name.
> >
> > Signed-off-by: Clément Guedez <klem.dev@gmail.com>
>
> Applied all six patches now.  Thanks.
>
>
> Takashi
>
> >
> > diff --git a/sound/pci/ice1712/wtm.c b/sound/pci/ice1712/wtm.c
> > index bcf30a3..f65ac19 100644
> > --- a/sound/pci/ice1712/wtm.c
> > +++ b/sound/pci/ice1712/wtm.c
> > @@ -463,7 +463,7 @@ static int wtm_add_controls(struct snd_ice1712 *ice)
> >
> >  static int wtm_init(struct snd_ice1712 *ice)
> >  {
> > -     static unsigned short stac_inits_prodigy[] = {
> > +     static unsigned short stac_inits_wtm[] = {
> >               STAC946X_RESET, 0,
> >               (unsigned short)-1
> >       };
> > @@ -475,7 +475,7 @@ static int wtm_init(struct snd_ice1712 *ice)
> >       ice->force_rdma1 = 1;
> >
> >       /*initialize codec*/
> > -     p = stac_inits_prodigy;
> > +     p = stac_inits_wtm;
> >       for (; *p != (unsigned short)-1; p += 2) {
> >               stac9460_put(ice, p[0], p[1]);
> >               stac9460_2_put(ice, p[0], p[1]);
> > --
> > 2.1.4
> >
>
diff mbox

Patch

diff --git a/sound/pci/ice1712/wtm.c b/sound/pci/ice1712/wtm.c
index bcf30a3..f65ac19 100644
--- a/sound/pci/ice1712/wtm.c
+++ b/sound/pci/ice1712/wtm.c
@@ -463,7 +463,7 @@  static int wtm_add_controls(struct snd_ice1712 *ice)
 
 static int wtm_init(struct snd_ice1712 *ice)
 {
-	static unsigned short stac_inits_prodigy[] = {
+	static unsigned short stac_inits_wtm[] = {
 		STAC946X_RESET, 0,
 		(unsigned short)-1
 	};
@@ -475,7 +475,7 @@  static int wtm_init(struct snd_ice1712 *ice)
 	ice->force_rdma1 = 1;
 
 	/*initialize codec*/
-	p = stac_inits_prodigy;
+	p = stac_inits_wtm;
 	for (; *p != (unsigned short)-1; p += 2) {
 		stac9460_put(ice, p[0], p[1]);
 		stac9460_2_put(ice, p[0], p[1]);