[alsa-devel] Question about your DSP topic branch

Patrick Lai plai at codeaurora.org
Wed Jan 26 07:22:41 CET 2011

On 1/25/2011 3:51 AM, Mark Brown wrote:
> On Mon, Jan 24, 2011 at 11:01:10PM -0800, Patrick Lai wrote:
>> 8. I see there is dmic codec(dmic.c) under sound/soc/codec which is
>> pretty much just a dummy codec driver. I supposed the configuration of
>> DMIC is done in other driver. Would it be better if we could have
> It's for direct DMIC interfaces in CPUs like OMAP4 has.
>> something like fixed voltage regulator? So, there is no need to
>> duplicate the effort.
> Yes, that'd be kind of nice but given how tiny these noop drivers are
> and the fact that they do all need to specify their capabilites it's not
> clear that there's much advantage from combining them into a single
> driver - the boiler plate is so small and simple.

Do we consider the case that codec driver is not required such as 
virtual sink or sink is configured outside of ALSA driver? If we create 
dummy codec driver for each use case, wouldn't sound/soc/codecs end up 
littered with bunch of noop drivers? Furthermore, couldn't capabilities
being passed through platform device?


Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

More information about the Alsa-devel mailing list