Thread (15 messages) 15 messages, 4 authors, 2012-10-04

Re: [PATCH] ASoC: ams-delta: fix card initalization failure

From: Mark Brown <hidden>
Date: 2012-08-27 21:38:39
Also in: alsa-devel, lkml

On Mon, Aug 27, 2012 at 11:28:30PM +0200, Janusz Krzysztofik wrote:
-	platform_set_drvdata(ams_delta_audio_platform_device,
-				&ams_delta_audio_card);
-
-	ret = platform_device_add(ams_delta_audio_platform_device);
-	if (ret)
-		goto err;
The real fix here is that you should be using platform data here, not
driver data.  Is there some reason not to do that?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help