Re: [RFC] ASoC: Allow mulitple usage of codec and cpu dai

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 25, 2010 at 7:03 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Feb 25, 2010 at 01:26:51PM +0900, Jassi Brar wrote:
>
>>       /* startup the audio subsystem */
>> -     if (cpu_dai->ops->startup) {
>> +     if (cpu_dai->active == 0 && cpu_dai->ops->startup) {
>
> I thought I'd been fairly clear last time that the drivers need to have
> an option to do stuff on startup().  As I said then a separate callback
> which is called only on the transitions into and out of active would be
> fine.
This is simply the patch, that you asked me to dig out from samsung-git
and post to the list, adapted to for-2.6.35

I could drop startup,shutdown,mute-on/off as well, but no codec driver
would work with that as such. If that's ok, i'll resend the patch.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux