]> git.ipfire.org Git - thirdparty/linux.git/commit
memory: tegra30-emc: Simplify and handle deferred probe with dev_err_probe()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 11 Sep 2025 09:43:17 +0000 (11:43 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 13 Oct 2025 00:23:00 +0000 (02:23 +0200)
commitdb2bd7ab1ae8c1f32a553b6eb36d6fecea41aab5
tree713527ef7f4a003a01cfcf6e91f88d345f0a02fd
parentc0ca941c93527a9e96f3ba58c0970cdf94670203
memory: tegra30-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/tegra30-emc.c