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