]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: phy-generic: Check clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 23 Aug 2016 01:45:36 +0000 (22:45 -0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 5 Sep 2016 10:39:23 +0000 (13:39 +0300)
commit41b29ad27618001a8aa1268a474a4d38c1928140
tree8f796be14df11f2fd7fca795f7594edbba3e830c
parent2a16bb16e862c02e558bdcd9d88ccb4a91330078
usb: phy: phy-generic: Check clk_prepare_enable() error

clk_prepare_enable() may fail, so we should better check its return
value and propagate it in the case of failure.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-generic.c