diff options
| author | Zhaoyang Yu <2426767509@qq.com> | 2026-03-12 11:03:29 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-18 16:03:34 +0100 |
| commit | f2e9bc030d848f3a3d7d1cec23dd0308152eb551 (patch) | |
| tree | 6d5d32b1e49c84032b8bf9c1eea9146b75b8f4e0 /scripts/patch-kernel | |
| parent | 0c8ee850572b6850a78ef4c83af2acd4909a4519 (diff) | |
USB: pxa27x_udc: check return value of clk_enable
clk_enable() may fail according to the API contract.
Previously, udc_enable() ignored its return value and returned void.
Modify udc_enable() to return the error code. Additionally, update
all of its callers (pxa_udc_pullup, pxa_udc_vbus_session,
pxa27x_udc_start, pxa_udc_probe, and pxa_udc_resume) to check
this return value and handle the failure properly with necessary
cleanups or rollbacks.
Signed-off-by: Zhaoyang Yu <2426767509@qq.com>
Link: https://patch.msgid.link/tencent_46693FE6DB434ACFB7412B16F6078AC01A06@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
