]> git.ipfire.org Git - thirdparty/linux.git/commit
memory: tegra124-emc: Simplify and handle deferred probe with dev_err_probe()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 11 Sep 2025 09:43:20 +0000 (11:43 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 13 Oct 2025 00:23:01 +0000 (02:23 +0200)
commitf398631b769c43fd3c575ad6270bb0109a04b85a
treeec217b55ce4b2f57db3e9481de3f99cb2f1f0d37
parenta52ddb98a674b01b6b5f2da1ed70a9f30d539f6b
memory: tegra124-emc: Simplify and handle deferred probe with dev_err_probe()

Certain calls, like clk_get, can cause probe deferral and driver should
handle it.  Use dev_err_probe() to fix that and also change other
non-deferred errors cases to make the code simpler.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/tegra/tegra124-emc.c