From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 3/3] Add ALSA driver for Atmel AC97 controller
Date: Thu, 5 Feb 2009 08:14:29 +0100 [thread overview]
Message-ID: <20090205081429.4e5988be@hcegtvedt> (raw)
In-Reply-To: <1233748114-6353-4-git-send-email-hans-christian.egtvedt@atmel.com>
On Wed, 4 Feb 2009 12:48:34 +0100
Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> wrote:
> This patch adds ALSA support for the AC97 controller found on Atmel
> AVR32 devices.
>
> Tested on ATSTK1006 + ATSTK1000 with a development board with a AC97
> codec.
>
<snipp most of patch>
> +static int __devinit atmel_ac97c_pcm_new(struct atmel_ac97c *chip)
> +{
> + struct snd_pcm *pcm;
> + int capture = test_bit(DMA_RX_CHAN_PRESENT, &chip->flags);
> + int playback = test_bit(DMA_TX_CHAN_PRESENT, &chip->flags);
> + int err;
> +
> + err = snd_ac97_pcm_assign(chip->ac97_bus,
> + ARRAY_SIZE(atmel_ac97_pcm_defs),
> + atmel_ac97_pcm_defs);
Is this call really needed? snd_ac97_pcm_assign() seems to have few
users in ALSA. I do not really get what this does, it is just something
that's always been in the driver.
<snipp>
--
Best regards,
Hans-Christian Egtvedt
next prev parent reply other threads:[~2009-02-05 7:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-04 11:48 [PATCH 0/3] Add AVR32 ALSA drivers Hans-Christian Egtvedt
2009-02-04 11:48 ` [PATCH 1/3] Add AVR32 ALSA drivers directory Hans-Christian Egtvedt
2009-02-04 11:48 ` [PATCH 2/3] Add ALSA driver for Atmel Audio Bitstream DAC Hans-Christian Egtvedt
2009-02-04 11:48 ` [PATCH 3/3] Add ALSA driver for Atmel AC97 controller Hans-Christian Egtvedt
2009-02-04 12:00 ` Mark Brown
2009-02-04 12:15 ` Hans-Christian Egtvedt
2009-02-04 12:51 ` Sedji Gaouaou
2009-02-04 13:01 ` Mark Brown
2009-02-04 13:03 ` Hans-Christian Egtvedt
2009-02-04 13:11 ` Sedji Gaouaou
2009-02-04 13:21 ` Hans-Christian Egtvedt
2009-02-04 13:44 ` Takashi Iwai
2009-02-04 14:28 ` Sedji Gaouaou
2009-02-04 12:09 ` Takashi Iwai
2009-02-04 12:16 ` Hans-Christian Egtvedt
2009-02-04 15:02 ` Hans-Christian Egtvedt
2009-02-04 15:08 ` Takashi Iwai
2009-02-05 7:14 ` Hans-Christian Egtvedt [this message]
2009-02-04 12:00 ` [PATCH 2/3] Add ALSA driver for Atmel Audio Bitstream DAC Takashi Iwai
2009-02-04 12:18 ` Hans-Christian Egtvedt
2009-02-04 12:52 ` Takashi Iwai
2009-02-04 12:58 ` Hans-Christian Egtvedt
2009-02-04 12:02 ` [PATCH 1/3] Add AVR32 ALSA drivers directory Takashi Iwai
2009-02-04 12:11 ` Hans-Christian Egtvedt
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=20090205081429.4e5988be@hcegtvedt \
--to=hans-christian.egtvedt@atmel.com \
--cc=alsa-devel@alsa-project.org \
/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 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.