From: Takashi Iwai <tiwai@suse.de>
To: Alexander Beregalov <a.beregalov@gmail.com>
Cc: perex@perex.cz, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org
Subject: Re: [alsa-devel] [PATCH] ice1724/revo: simple clean up
Date: Mon, 11 Aug 2008 10:24:51 +0200 [thread overview]
Message-ID: <s5h63q8m018.wl%tiwai@suse.de> (raw)
In-Reply-To: <20080810220904.GD5093@orion>
At Mon, 11 Aug 2008 02:09:04 +0400,
Alexander Beregalov wrote:
>
> From: Alexander Beregalov <a.beregalov@gmail.com>
>
> ice1724/revo: simple clean up
>
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Applied. Thanks.
> ---
>
> sound/pci/ice1712/revo.c | 12 ++++++++----
> 1 files changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c
> index 4d26314..5e1b156 100644
> --- a/sound/pci/ice1712/revo.c
> +++ b/sound/pci/ice1712/revo.c
> @@ -524,16 +524,20 @@ static int __devinit revo_init(struct snd_ice1712 *ice)
> ak = ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL);
> if (! ak)
> return -ENOMEM;
> - ice->akm_codecs = 2;
> switch (ice->eeprom.subvendor) {
> case VT1724_SUBDEVICE_REVOLUTION71:
> ice->akm_codecs = 2;
> - if ((err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front, &akm_revo_front_priv, ice)) < 0)
> + err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front,
> + &akm_revo_front_priv, ice);
> + if (err < 0)
> return err;
> - if ((err = snd_ice1712_akm4xxx_init(ak + 1, &akm_revo_surround, &akm_revo_surround_priv, ice)) < 0)
> + err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo_surround,
> + &akm_revo_surround_priv, ice);
> + if (err < 0)
> return err;
> /* unmute all codecs */
> - snd_ice1712_gpio_write_bits(ice, VT1724_REVO_MUTE, VT1724_REVO_MUTE);
> + snd_ice1712_gpio_write_bits(ice, VT1724_REVO_MUTE,
> + VT1724_REVO_MUTE);
> break;
> case VT1724_SUBDEVICE_REVOLUTION51:
> ice->akm_codecs = 2;
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
prev parent reply other threads:[~2008-08-11 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-10 22:09 Alexander Beregalov
2008-08-11 8:24 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h63q8m018.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=a.beregalov@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®