[alsa-devel] dapm_widget_power_read_file() symmetry issue?

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jun 5 18:46:04 CEST 2012


On Mon, Jun 04, 2012 at 04:39:57PM -0600, Stephen Warren wrote:

> > 	list_for_each_entry(p, &w->sinks, list_source) {
> > 		if (p->connected && !p->connected(w, p->sink))
> > 			continue;

> Should that last call to p->connected() be p->connected(p->source, w),
> since the function's parameters are (source, sink)?

Probably, yes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120605/f9d61dad/attachment-0001.sig 


More information about the Alsa-devel mailing list