[RFC patch v3 3/4] ASoC: atmel-ssc-dai: register dai and pcm directly

From
Mark Brown <hidden>
Date
2012-11-06 08:48:14
Also in
alsa-devel, linux-devicetree, linux-sound
Reply to
Bo Shen, 2012-11-06
On Tue, Nov 06, 2012 at 01:57:53PM +0800, Bo Shen wrote:
quoted hunk ↗ jump to hunk
 static struct platform_device at91sam9260_ssc_device = {
-	.name	= "at91rm9200_ssc",
+	.name	= "at91rm9200_ssc_dai",
 	.id	= 0,
 	.dev	= {
No, this isn't converting things to device tree which presumably is the
goal here and obviously just doing the rename doesn't accomplish an
enormous amount.  What I said was that you should instantiate the ASoC
adaption when the machine driver needs to use them.  You shouldn't even
need a separate device for this.

Please do look at other platforms with similar hardware and do something
similar to them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121106/e051f0f7/attachment.sig>
Thread (10 messages) 10 messages, 2 authors, last reply 2012-11-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help