Export the Q7.8 volume control helpers to allow reuse by other ASoC drivers. These functions handle 16-bit signed Q7.8 fixed-point format values for volume controls. Changes include: - Rename q78_get_volsw to sdca_asoc_q78_get_volsw - Rename q78_put_volsw to sdca_asoc_q78_put_volsw - Add a convenience macro SDCA_SINGLE_Q78_TLV and SDCA_DOUBLE_Q78_TLV for creating mixer controls This allows other ASoC drivers to easily implement controls using the Q7.8 fixed-point format without duplicating code. Signed-off-by: Niranjan H Y <niranjan.hy@ti.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260401132148.2367-1-niranjan.hy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| sdca_asoc.c | ||
| sdca_class.c | ||
| sdca_class.h | ||
| sdca_class_function.c | ||
| sdca_device.c | ||
| sdca_fdl.c | ||
| sdca_function_device.c | ||
| sdca_function_device.h | ||
| sdca_functions.c | ||
| sdca_hid.c | ||
| sdca_interrupts.c | ||
| sdca_jack.c | ||
| sdca_regmap.c | ||
| sdca_ump.c | ||