summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/es8375.c
AgeCommit message (Collapse)AuthorFilesLines
2025-05-27ASoC: codecs: fix out-of-bounds access on invalid clock configQasim Ijaz1-0/+1
get_coeff() returns –EINVAL when no table entry matches. The driver then uses that value as an index into coeff_div[], causing an OOB access. To fix lets abort the hw_params call instead. Fixes: de2b3119f9f7 ("ASoC: codecs: add support for ES8375") Signed-off-by: Qasim Ijaz <qasdev00@gmail.com> Link: https://patch.msgid.link/20250526191820.72577-1-qasdev00@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
2025-05-23ASoC: codecs: add support for ES8375Zhang Yi1-0/+793
The driver is for codec es8375 of everest Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> Link: https://patch.msgid.link/20250523025502.23214-3-zhangyi@everest-semi.com Signed-off-by: Mark Brown <broonie@kernel.org>