Thread (22 messages) read the whole thread 22 messages, 6 authors, 2011-09-10
STALE5439d

[PATCH v2] ASoC: omap: convert per-board modules to platform drivers

From: Mans Rullgard <hidden>
Date: 2011-09-08 19:08:17
Also in: alsa-devel, linux-omap

On 8 September 2011 19:35, Jassi Brar [off-list ref] wrote:
On 8 September 2011 23:48, Mark Brown
[off-list ref] wrote:
quoted
On Thu, Sep 08, 2011 at 11:47:16PM +0530, Jassi Brar wrote:
quoted
Can't we do by having omap_init_audio() in arch/arm/mach-omap2/devices.c
generate a platform device of name depending upon machine_is_* ?
That's not a bad idea. ?If we were going to do that it shouldn't be OMAP
specific, any platform could use it. ?Though we'd need a way to override
it to provide platform data on systems that needs it.
Perhaps by providing an optional call, say set_asoc_platdata(void *pdata),
that boards could call from their init_machine() ?
That seems like a sensible approach to me.

-- 
Mans Rullgard
Multimedia
mans.rullgard at linaro.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help