aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/amba/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorIngyu Jang <ingyujang25@korea.ac.kr>2026-05-15 03:52:15 +0900
committerMark Brown <broonie@kernel.org>2026-05-15 10:53:56 +0900
commitc996a4418dd4ee45cd086586c04a1103e8160308 (patch)
tree0b43163b6df6637756328608deff630df11be30f /include/linux/amba/ssh:/git@git.zx2c4.com
parentASoC: cs35l56: Drop malformed default N from Kconfig (diff)
ASoC: ti: omap-dmic: Fix IS_ERR() vs NULL check bug in omap_dmic_select_fclk()
clk_get_parent() returns NULL when the clock has no parent (or when the input clk is NULL); it never returns an ERR_PTR. The current IS_ERR(mux) check therefore never triggers - a NULL return falls through silently to clk_set_parent(NULL, parent_clk), which simply fails with -EINVAL. Use a NULL check so the dedicated error path runs and the prior clk_get() reference is released via clk_put(). Signed-off-by: Ingyu Jang <ingyujang25@korea.ac.kr> Acked-by: Sen Wang <sen@ti.com> Link: https://patch.msgid.link/20260514185215.3753998-1-ingyujang25@korea.ac.kr Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/amba/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions