[alsa-devel] [PATCH] [ALSA] Allow setting codec register with debugfs filesystem

Mark Brown broonie at sirena.org.uk
Wed Oct 8 21:44:04 CEST 2008

On Wed, Oct 08, 2008 at 11:36:13AM -0700, Troy Kisky wrote:

> Mark, I didn't base it on dapm's pop_time directory
> because that hasn't made it to my testing kernel yet.
> I cannot test directly from the alsa git tree.

You should be able to cherry pick the relevant commits over without too
much hassle?  Should be commits:


in that order.  ASoC generally backports fairly easily since it doesn't
have too many ties into fast-changing parts of the system - you can
often get a long way by simply copying soc-core.c, soc-dapm.c, soc.h and
soc-dapm.h into your current version.

Could you give that a spin and let me know if you can get something
sorted out?

I did also notice:

> +static int code_reg_open_file(struct inode *inode, struct file *file)

Not sure why I didn't notice this before but codec_reg rather than code_reg?

BTW, please CC me on ASoC patch submissions - it makes it harder for me
to miss things on the list.

More information about the Alsa-devel mailing list