]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: usdhi60rol0: fix deferred probing
authorSergey Shtylyov <s.shtylyov@omp.ru>
Sat, 17 Jun 2023 20:36:22 +0000 (23:36 +0300)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:19:21 +0000 (17:19 +0200)
commit77363da4eb3d19f1b6f558240310bb5950dfebb5
treecb758a4a4ce51484c97f4d5a4e4714030728a712
parent892a28ae417e5658cdc92411fb8996d3002c020f
mmc: usdhi60rol0: fix deferred probing

BugLink: https://bugs.launchpad.net/bugs/2033931
[ Upstream commit 413db499730248431c1005b392e8ed82c4fa19bf ]

The driver overrides the error codes returned by platform_get_irq_byname()
to -ENODEV, so if it returns -EPROBE_DEFER, the driver will fail the probe
permanently instead of the deferred probing.  Switch to propagating error
codes upstream.

Fixes: 9ec36cafe43b ("of/irq: do irq resolution in platform_get_irq")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20230617203622.6812-13-s.shtylyov@omp.ru
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/mmc/host/usdhi6rol0.c