summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-09-02 19:18:20 +0200
committerMark Brown <broonie@kernel.org>2025-09-08 18:39:11 +0100
commitfba404e4b4af4f4f747bb0e41e9fff7d03c7bcc0 (patch)
treefe75f742be9ac5571061fd412c96a221feaa0f84 /rust/helpers/platform.c
parentb20eb0e8de383116f1e1470d74da2a3c83c4e345 (diff)
ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping
When an invalid value is passed via quirk option, currently bytcr_rt5640 driver only shows an error message but leaves as is. This may lead to unepxected results like OOB access. This patch corrects the input mapping to the certain default value if an invalid value is passed. Fixes: 063422ca2a9d ("ASoC: Intel: bytcr_rt5640: Set card long_name based on quirks") Signed-off-by: Takashi Iwai <tiwai@suse.de> Message-ID: <20250902171826.27329-3-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