Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Wed, 22 Jun 2022 20:14:59 +0200 | Subject | Re: [PATCH v2 1/2] mmc: renesas_sdhi: Get the reset handle early in the probe |
| |
On Wed, Jun 22, 2022 at 7:36 PM Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote: > In case of devm_reset_control_get_optional_exclusive() failure we returned > directly instead of jumping to the error path to roll back initialization. > > This patch moves devm_reset_control_get_optional_exclusive() early in the > probe so that we have the reset handle prior to initialization of the > hardware. > > Fixes: b4d86f37eacb7 ("mmc: renesas_sdhi: do hard reset if possible") > Reported-by: Pavel Machek <pavel@denx.de> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |