lkml.org 
[lkml]   [2012]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalization failure
On Wed, Aug 29, 2012 at 07:04:48AM +0200, Janusz Krzysztofik wrote:
> On Tue, 28 Aug 2012 11:13:39 Mark Brown wrote:

> > The above looks like you already have a platform driver? All I'm
> > suggesting is changing the above to use platform rather than driver
> > data.

> The ams-delta asoc driver doesn't use snd_soc_register_card() so far,
> but relays solely on soc_probe() doing this for it, which in turn
> expects to find a snc_soc_card structure in drvdata. How is it supposed
> to find that structure if I pass it over platform data instead? Am I
> missing something?

s/drvdata/platdata/ in the code. If you can't do this then just
referencing the data directly in the code would be better than this
bodge, it'd be much less fragile.


\
 
 \ /
  Last update: 2012-09-01 00:01    [W:0.355 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site