24 Jul
2013
24 Jul
'13
3:56 p.m.
On Wed, Jul 24, 2013 at 03:27:35PM +0200, Lars-Peter Clausen wrote:
The ALSA core expect the put callback of a control to return 1 if the value of the control changed and 0 if it did not. Both snd_soc_dapm_put_volsw() and snd_soc_dapm_put_enum_virt() currently always returns 0. For both functions we already have a 'change' variable which either contains 1 or 0 depending on whether the value has changed or not, so just return that.
Applied, thanks.