At Fri, 8 Jun 2007 13:56:14 +0530, Nobin Mathew wrote:
Like we have in /proc/asound/card0/codec97#0/ac97#0-0+regs
sysfs is preferred nowadays :)
But, it's up to driver author which to choose. If procfs is easier to implement, then no problem to keep using procfs, IMO.
Possibly we can move all proc stuff to sysfs, but I didn't do that because I see little merit by that.
Takashi
On 6/8/07, Graeme Gregory gg@opensource.wolfsonmicro.com wrote:
On Fri, 2007-06-08 at 13:17 +0530, Nobin Mathew wrote:
Adding a nice proc interface to read codec registers will be a nice feature have, like we have in generic ac97 registers, i added that that in wm9713.c by using ac97_proc.c
You mean like /sys/devices/platform/soc-audio/codec_reg :-)
Liam is working currently on the private data issue in his new edition of ASoC coming soon.
Graeme (sitting 4 feet to left of Liam).
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel