[alsa-devel] [PATCH] ASoC: Remove unused dapm_get_snd_card() and dapm_get_soc_card()

Mark Brown broonie at kernel.org
Tue Jul 23 21:32:04 CEST 2013

On Tue, Jul 23, 2013 at 07:57:15PM +0200, Lars-Peter Clausen wrote:
> On 07/23/2013 07:36 PM, Mark Brown wrote:

> >We can always add them back in later if they get a user.

> If there are any out of tree users they should just use dapm->card
> instead. It's much more simpler than this 'if (dapm->codec) return
> dapm->codec->card; else if (dapm->platform) return
> dapm->platform->card;' and at the same time more robust since it
> also works for dapm contexts which don't belong to a codec or
> platform.

Right, though my thought looking at the code was that the intention was
to also do a transition so that dapm->card isn't there any more.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130723/f612cf42/attachment.sig>

More information about the Alsa-devel mailing list