summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyeongJun An <sammiee5311@gmail.com>2026-06-09 15:43:14 +0300
committerMark Brown <broonie@kernel.org>2026-06-11 22:44:44 +0300
commitd65adf85477247be04ac86886f8edfaa047b5d4a (patch)
treee28d21a29d746c3ff8262279ea5257a257ba396f /include
parent0b08baeccdcf52fad328ad645f5b4fbee04eea34 (diff)
downloadlinux-d65adf85477247be04ac86886f8edfaa047b5d4a.tar.xz
ASoC: meson: aiu: Validate written enum values
The AIU HDMI and internal codec mux put callbacks use the written enum value with snd_soc_enum_item_to_val() before checking whether the value is valid for the enumeration. Reject out-of-range values before converting the enum item, matching the validation already done by the G12A HDMI and internal codec mux controls. Fixes: b82b734c0e9a ("ASoC: meson: aiu: add hdmi codec control support") Fixes: 65816025d461 ("ASoC: meson: aiu: add internal dac codec control support") Assisted-by: Claude:claude-opus-4-8 Signed-off-by: HyeongJun An <sammiee5311@gmail.com> Link: https://patch.msgid.link/20260609124317.38046-3-sammiee5311@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions