22 Oct
2014
22 Oct
'14
5:29 p.m.
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!