usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 28 Jun 2017 04:51:28 +0000 (10:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 12:49:06 +0000 (14:49 +0200)
commitaf06d0094fa7fc2613294d409128671856c5471d
tree6adf8b6d36c63b21f25de4f451412e762db18dd9
parentfd90f73a9925f248d696bde1cfc836d9fda5570d
usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pxa27x.c