usb: mtu3: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 9 Jun 2017 12:03:31 +0000 (17:33 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Jun 2017 10:21:06 +0000 (13:21 +0300)
commite6d385692a98926c2bec9dc8e5050076bbcc4e37
tree4215ef5f5650776f1fd03bcfda55b7692fa3f8da
parent958d1a4c40ddc24e02683074d04ad5cb30380705
usb: mtu3: 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/mtu3/mtu3_plat.c