23 Jul
2013
23 Jul
'13
9:32 p.m.
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.