public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* status of OMAP ALSA support
@ 2006-08-09 22:58 Zhang, Jian
  2006-08-10  0:42 ` lamikr
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Jian @ 2006-08-09 22:58 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

Does OMAP ALSA driver work? Neither H4 nor H3 has it in default
configuration.  

I see the following in tsc2101 codec driver:

codec_cfg = pdev->dev.platform_data;
if (codec_cfg != NULL) {
 ...
}
else
ret = -ENODEV;

I don't see any code to set up dev.platform_data. As a result, codec_cfg
is always NULL and OMAP ALSA should not work at all. 

I might miss something here. Please comment.

Other than that, it seems to have the following limitations by looking
at the code statically.
- omap-alsa.c knows the codec connectivity detail (hard-coded to
MCBSP1). This file should be independent of board specifics.
- Dead lock as s->dma_lock is double locked in multiple locations.
- Don't support duplex as codec lock is shut off when either input
stream or output stream is closed.
- Memory strategy is very rudimental: Hard-coded to allocate 128KB
consistent memory in init time.   

Regards,
Jian

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <77C7F7CB1230A74A9D19C0C111E6EDBEF153EC@DLEE09.ent.ti.com>]

end of thread, other threads:[~2006-08-12  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-09 22:58 status of OMAP ALSA support Zhang, Jian
2006-08-10  0:42 ` lamikr
     [not found] <77C7F7CB1230A74A9D19C0C111E6EDBEF153EC@DLEE09.ent.ti.com>
2006-08-11 22:56 ` Zhang, Jian
2006-08-12  9:51   ` Komal Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox