Re: [PATCH 1/1] ASoC: add support for multiple cards/codecs in debugfs

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

 



On Thursday 01 October 2009 08:41:07 Ujfalusi Peter (Nokia-D/Tampere) wrote:
> Is it good if the patch creates a directory hierarchy like this:
> debugfs/asoc/{dev_name()}/{codec->name}/...
> 
> Or should I use some intermediate buffer to construct a single level tree:
> debugfs/asoc/{dev_name()}-{codec->name}/...
> 
> From the point of what is coming the former is much more future proof, if
>  we take into account that we can have more than one codec in one soc
>  device (or card).

After a bit of thinking, I think I will go with the later one:
debugfs/asoc/{dev_name()}-{codec->name}/...

It needs some intermediate buffer to construct the string for the directory, but 
I think that is the better way for now.

> 

-- 
Péter
_______________________________________________
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