usb: phy: samsung: Consolidate reference clock rate handling
authorTomasz Figa <t.figa@samsung.com>
Mon, 25 Mar 2013 15:15:55 +0000 (16:15 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:42:21 +0000 (11:42 +0900)
commit2c89fe7dde15785947c6960346fd760e23b6768e
tree64e39b32329f0c940b029a4a7646d1b54c7e11d1
parent8750ae7b3fafd9fa7e8ed9869c6d0a8ba8e36d24
usb: phy: samsung: Consolidate reference clock rate handling

This patch cleans up handling of reference clock rate in Samsung USB PHY
drivers. It is mostly a cosmetic change but improves error handling in
case of failing to get reference clock or invalid clock rate.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/usb/phy/phy-samsung-usb.c
drivers/usb/phy/phy-samsung-usb.h
drivers/usb/phy/phy-samsung-usb2.c
drivers/usb/phy/phy-samsung-usb3.c