usb: gadget: mv_udc: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 14 Jun 2017 09:50:08 +0000 (15:20 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 15 Jun 2017 08:09:48 +0000 (11:09 +0300)
commit0e1b89e54ddac207e73c9b3e0cd9d4e431509a24
tree89a8c716b5a981f43723bcd6f9427dedb85395ba
parent46b780d46bccdc75b63a98b2a9cca5a4e0ff2cec
usb: gadget: mv_udc: 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: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/mv_udc_core.c