summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-09-02 19:18:19 +0200
committerMark Brown <broonie@kernel.org>2025-09-08 18:39:10 +0100
commitb20eb0e8de383116f1e1470d74da2a3c83c4e345 (patch)
tree8a3848dc16699e30fe9f46f3aecdb70dc8e80f51 /rust/helpers/platform.c
parent9e5eb8b49ffe3c173bf7b8c338a57dfa09fb4634 (diff)
ASoC: Intel: bytcht_es8316: Fix invalid quirk input mapping
When an invalid value is passed via quirk option, currently bytcht_es8316 driver just ignores and leaves as is, which may lead to unepxected results like OOB access. This patch adds the sanity check and corrects the input mapping to the certain default value if an invalid value is passed. Fixes: 249d2fc9e55c ("ASoC: Intel: bytcht_es8316: Set card long_name based on quirks") Signed-off-by: Takashi Iwai <tiwai@suse.de> Message-ID: <20250902171826.27329-2-tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions