From: Timur Tabi <timur@freescale.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>,
alsa-devel@alsa-project.org
Subject: Re: [linuxppc-release] [PATCH 1/2] [v2] ASoC: fsl: use snd_soc_register_card to register the card
Date: Tue, 11 Sep 2012 15:05:45 -0500 [thread overview]
Message-ID: <504F9999.4090405@freescale.com> (raw)
In-Reply-To: <1347380607-1564-1-git-send-email-timur@freescale.com>
Timur Tabi wrote:
> Use snd_soc_register_card() instead of platform_device_alloc("soc-audio")
> to register the sound card from the machine drivers.
>
> Although platform_device_alloc is officially deprecated, it is still used
> by several other drivers. Unfortunately, something is broken somewhere
> and the Freescale drivers don't register properly when using it. Since
> we need to transition to snd_soc_register_card() anyway, this fixes the
> problem and updates our code at the same time.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
Ugh, I forgot to update the _remove function. I'll post a v3 patch soon.
Sorry.
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2012-09-11 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-11 16:23 [PATCH 1/2] [v2] ASoC: fsl: use snd_soc_register_card to register the card Timur Tabi
2012-09-11 16:23 ` [PATCH 2/2] ASoC: fsl: move machine drivers to late_initcall() Timur Tabi
2012-09-11 20:05 ` Timur Tabi [this message]
2012-09-12 1:32 ` [PATCH 1/2] [v2] ASoC: fsl: use snd_soc_register_card to register the card Mark Brown
2012-09-12 15:12 ` Timur Tabi
2012-09-13 4:07 ` Mark Brown
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=504F9999.4090405@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
/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;
as well as URLs for NNTP newsgroup(s).