diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-11 12:10:43 +0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-11 15:05:25 +0200 |
| commit | dbe68462fa656078eac3a5a09039038dc47e08da (patch) | |
| tree | ad751af92a79f7999bb7ff0dce2f7ee28e6f3f2f /tools/perf/python | |
| parent | ed2050bc671b44b2c948dbd4347cc534d44ccc9f (diff) | |
| download | linux-next-dbe68462fa656078eac3a5a09039038dc47e08da.tar.gz linux-next-dbe68462fa656078eac3a5a09039038dc47e08da.zip | |
usb: chipidea: ci_hdrc_imx: Fix error handling when creating IRQ name
devm_kasprintf() can fail when allocating the wakeup IRQ name. In this
case, the probe error path should shut down the PHY before returning.
Use the phy_shutdown error path instead of err_clk so that the PHY is
properly shut down when creating the IRQ name or requesting the wakeup
IRQ fails.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Reported-by: Sashiko Bot <sashiko-bot@kernel.org>
Link: https://lore.kernel.org/all/20260806065755.C9F361F000E9@smtp.kernel.org/
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260911051043.15962-1-phucduc.bui@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions
