diff options
| author | Mark Brown <[email protected]> | 2024-01-03 18:34:01 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-01-03 18:37:00 +0000 |
| commit | 3150b70e944ead909260285dfb5707d0bedcf87b (patch) | |
| tree | 5c82bab28559b0aaa80e2ace9225dada29c76365 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 38744c3fa00109c51076121c2deb4f02e2f09194 (diff) | |
ASoC: meson: g12a-toacodec: Validate written enum values
When writing to an enum we need to verify that the value written is valid
for the enumeration, the helper function snd_soc_item_enum_to_val() doesn't
do it since it needs to return an unsigned (and in any case we'd need to
check the return value).
Fixes: af2618a2eee8 ("ASoC: meson: g12a: add internal DAC glue driver")
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions