Commit bc541334 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

USB: OTG: msm: Fix error handling in probe



If clk_get on core_clk fails in probe function, the return value
is incorrectly assigned.  Assign the ret variable to the error
code returned for core_clk not alt_core_clk.

Change-Id: Icca82e8e44cd40149205c246f427ab82e4656268
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent d41707f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment