diff options
| author | Sing-Han Chen <singhanc@nvidia.com> | 2026-09-03 15:19:35 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-03 22:42:57 +0200 |
| commit | 9358936fa13a8d7d9fbe92762ab38271c8dcb7c0 (patch) | |
| tree | 08a2ef12cc67f723cfd16e03c28c196bde14ec79 /rust/kernel/alloc/kvec/errors.rs | |
| parent | c850a8821901163998ec4b7932b3d79dbe480543 (diff) | |
phy: tegra: xusb: Use devm_clk_get_optional to fetch USB2 tracking clock
The USB2 PAD tracking clock is an optional clock so use
devm_clk_get_optional() so a missing clock in devicetree is
represented as NULL and probe can continue. clk_prepare_enable()
and clk_disable_unprepare() already treat a NULL clock as a no-op.
Signed-off-by: Sing-Han Chen <singhanc@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260903071937.533646-3-waynec@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
