[alsa-devel] [PATCH 03/12] ASoC: dapm: Only mark paths dirty when the connection status changed
Mark Brown
broonie at kernel.org
Wed Oct 22 17:29:35 CEST 2014
On Wed, Oct 22, 2014 at 02:10:29PM +0200, Lars-Peter Clausen wrote:
> On 10/22/2014 01:00 PM, Mark Brown wrote:
> >Why is this returning a value which is then ignored?
> I was initially using it to not schedule the dapm_power_widgets(), but there
> is potential for problems when the DAPM graph and the hardware state are
> out-of-sync, in which case we still want to apply the register update. There
> are some corner cases where this can happen and which need to be fixed
> first.
> I can drop the return type for now.
Probably best, I was looking for a user and didn't find one. Seems like
a bit of a microoptimisation either way.
If it was just returning an error code and we were ignoring that I'd not
have worried!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141022/3c30e426/attachment.sig>
More information about the Alsa-devel
mailing list