Mark Brown d4864e8c4b ASoC: wm8958: Fix change notifications for DSP controls
commit b4f5c6b2e52b27462c0599e64e96e53b58438de1 upstream.

The WM8958 DSP controls all return 0 on successful write, not a boolean
value indicating if the write changed the value of the control. Fix this
by returning 1 after a change, there is already a check at the start of
each put() that skips the function in the case that there is no change.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220416125408.197440-1-broonie@kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-12 12:23:42 +02:00
..
2021-03-24 11:26:34 +01:00
2021-05-14 09:44:29 +02:00
2019-06-26 12:27:50 +01:00
2022-04-15 14:18:24 +02:00
2020-06-17 16:40:26 +02:00
2018-04-26 12:44:15 +01:00
2019-06-12 13:52:26 +01:00
2019-06-12 13:52:26 +01:00
2019-07-26 13:10:09 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2018-05-18 11:20:11 +01:00
2019-06-26 12:39:34 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2019-12-31 16:45:31 +01:00
2020-01-12 12:21:34 +01:00