Files
linux/sound/soc/codecs
Christian A. Ehrhardt a201aef1a8 ASoC: codecs: ab8500: Fix casting of private data
ab8500_filter_controls[i].private_value is initialized using

	.private_value = (unsigned long)&(struct filter_control)
		{.count = xcount, .min = xmin, .max = xmax}

thus it's a pointer to a struct filter_control casted to unsigned long.

So to get back that pointer .private_data must be cast back, not its
address.

Fixes: 679d7abdc7 ("ASoC: codecs: Add AB8500 codec-driver")
Signed-off-by: Christian A. Ehrhardt <christian.ehrhardt@codasip.com>
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20260428192255.2294705-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-04-29 09:47:39 +09:00
..
2025-04-13 20:22:14 +01:00
2024-06-10 12:48:36 +01:00
2021-04-20 17:25:51 +01:00
2024-08-01 12:51:45 +01:00
2024-08-26 15:52:09 +01:00
2023-12-01 16:59:23 +00:00
2024-10-24 16:09:18 +01:00
2026-02-22 23:52:20 +00:00
2026-02-22 23:52:20 +00:00
2021-03-31 18:00:38 +01:00
2025-05-23 11:16:45 +01:00
2026-04-10 11:27:52 +01:00
2025-07-04 22:42:36 +01:00
2018-04-26 12:44:15 +01:00
2024-09-05 12:31:03 +01:00
2026-03-27 18:37:54 +00:00
2024-03-28 15:54:04 +00:00
2024-06-18 16:45:46 +01:00
2024-10-17 12:11:33 +01:00
2024-10-17 12:11:33 +01:00
2024-10-17 12:11:33 +01:00
2024-10-17 12:11:33 +01:00
2024-12-16 15:12:49 +00:00
2020-05-07 13:18:04 +01:00
2022-10-13 13:01:32 +01:00
2026-03-27 18:37:54 +00:00
2021-12-06 10:04:05 +01:00
2026-02-22 23:52:20 +00:00
2022-07-08 11:52:42 +01:00
2025-12-18 08:21:45 +00:00
2021-12-06 10:04:05 +01:00
2026-03-27 18:37:55 +00:00
2018-06-01 12:05:30 +01:00
2026-04-10 11:27:52 +01:00
2020-07-20 15:34:29 +01:00
2020-10-02 21:05:29 +01:00
2025-08-12 12:06:03 +01:00