phy: sun9i-usb: fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 6 Jul 2016 06:00:06 +0000 (08:00 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 12 Aug 2016 09:29:10 +0000 (14:59 +0530)
commit017300da3a4547d85e52c2484fc0bd759e1bbcdb
tree830174eaa8b58cec8f8f902f1ac6c3ffab50e144
parentbf8ca651e1f8f054b39b6b3b95d6f515c3c857d5
phy: sun9i-usb: fix error handling

This is likely that checking 'phy->hsic_clk' instead of 'phy->clk' is
expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Chen-Yu Tsai <wens@csie.org
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-sun9i-usb.c