[alsa-devel] [PATCH 1/6] ESI W192M : Correct copy/paste from prodigy driver
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
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]);
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
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
participants (3)
-
Clément Guedez
-
klem.dev@gmail.com
-
Takashi Iwai