summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-exynos4x12-usb2.c
diff options
context:
space:
mode:
authorMarek Szyprowski2016-11-07 11:48:32 +0100
committerKishon Vijay Abraham I2016-11-18 13:49:15 +0100
commitb3e78cbc3d4599a3d4dfce6e63286e967444a100 (patch)
treee6ba07014a81c90e7642684961f833175cef1bce /drivers/phy/phy-exynos4x12-usb2.c
parentphy: rcar-gen3-usb2: add sysfs for usb role swap (diff)
downloadkernel-qcow2-linux-b3e78cbc3d4599a3d4dfce6e63286e967444a100.tar.gz
kernel-qcow2-linux-b3e78cbc3d4599a3d4dfce6e63286e967444a100.tar.xz
kernel-qcow2-linux-b3e78cbc3d4599a3d4dfce6e63286e967444a100.zip
phy: exynos-mipi-video: simplify check for coupled phy status
There is no need to access regmap of coupled phy to check its state - such information is already in the phy device itself, so use it directly. This let us to avoid possible access to registers of the device in the disabled power domain if the coupled phy is already disabled. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-exynos4x12-usb2.c')
0 files changed, 0 insertions, 0 deletions