[alsa-devel] [PATCH 1/6] ESI W192M : Correct copy/paste from prodigy driver
Takashi Iwai
tiwai at suse.de
Wed Mar 18 10:42:04 CET 2015
At Wed, 18 Mar 2015 02:26:26 +0100,
klem.dev at gmail.com wrote:
>
> From: Clément Guedez <klem.dev at gmail.com>
>
> Correct copy/paste name from prodigy driver, no behaviour change, only name.
>
> Signed-off-by: Clément Guedez <klem.dev at 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
>
More information about the Alsa-devel
mailing list