Re: [PATCH v2] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-24 Thread Greg KH
On Thu, Jun 15, 2017 at 10:20:18AM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > > Changes in v2: > Remove useless initialization of retval. > --- changes go below the --- line. Please fix and

[PATCH v2] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-14 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav Changes in v2: Remove useless initialization of retval. --- drivers/usb/host/ohci-pxa27x.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/