[alsa-devel] question on dapm_reg_event()

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jan 6 15:53:22 CET 2010

On Mon, Jan 04, 2010 at 09:10:27PM -0500, Haojian Zhuang wrote:

> I just have a question on dapm code. In dapm_reg_event(), -(w->reg +
> 1) is input parameter of snd_soc_update_bits(). Why we need to use
> negative value as input parameter at here? Why do we not use w->reg at
> here?

Hrm, no, that's not at all clear to me either.  CCing Jarkko who
contributed the register write control originally.

More information about the Alsa-devel mailing list