]> git.hungrycats.org Git - linux/commit
ASoC: rockchip: Simplify probe error handling
authorMark Brown <broonie@kernel.org>
Thu, 13 Aug 2026 14:46:10 +0000 (15:46 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 13 Aug 2026 14:46:10 +0000 (15:46 +0100)
commit87331e2aa4004ec87a559812c3ab5963d3c9365f
tree03177ef2ee79e8296c38665d19e798f855295d79
parent583e44f2828b9628535c099ebdeb8758c9b2d90f
parent5784ef446847cc01e43f3bb2ce63d3a72a9301ce
ASoC: rockchip: Simplify probe error handling

bui duc phuc <phucduc.bui@gmail.com> says:

This series simplifies probe error handling across Rockchip ASoC drivers.

It replaces open-coded error handling with dev_err_probe() where
appropriate, removes redundant probe error messages, returns the
original error code directly, and fixes handling of -EPROBE_DEFER
returned by platform_get_irq_optional() in the Rockchip SAI driver
and devm_pinctrl_get() in the Rockchip I2S driver.

Compile tested only.

Link: https://patch.msgid.link/20260806052136.21034-1-phucduc.bui@gmail.com