Charles Keepax 9c9869c308 ASoC: madera: Fix event generation for rate controls
[ Upstream commit 980555e95f7cabdc9c80a07107622b097ba23703 ]

madera_adsp_rate_put always returns zero regardless of if the control
value was updated. This results in missing notifications to user-space
of the control change. Update the handling to return 1 when the
value is changed.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623105120.1981154-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-21 21:24:39 +02:00
..
2021-03-18 13:50:35 +00:00
2021-04-20 17:25:51 +01:00
2021-04-20 17:25:51 +01:00
2021-08-06 17:00:51 +02:00
2021-03-10 13:10:37 +00:00
2021-09-27 12:59:09 +01:00
2021-03-31 18:00:38 +01:00
2021-03-31 18:00:38 +01:00
2021-02-04 18:45:19 +00:00
2021-08-24 15:39:01 +02:00
2018-04-26 12:44:15 +01:00
2021-03-10 13:09:57 +00:00
2020-05-07 13:18:04 +01:00
2021-03-10 13:09:58 +00:00
2021-03-10 13:09:59 +00:00
2019-07-26 13:10:09 +01:00
2021-03-10 13:10:05 +00:00
2021-03-10 13:10:07 +00:00
2020-12-09 17:00:33 +00:00
2018-05-18 11:20:11 +01:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-26 15:27:13 +01:00
2022-07-21 21:24:38 +02:00
2020-10-02 21:05:29 +01:00
2021-03-11 13:24:15 +00:00
2021-03-11 13:24:17 +00:00