diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-07-26 13:08:08 +0200 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:52:07 +0900 |
commit | 6554c1366184dba45541753ec5d735abf4a3b50f (patch) | |
tree | 19e9bb89b50569ebe74245a51d7c6204a2f23b19 /drivers/phy | |
parent | 9c3e4b4e636635e354ed2074d03073971e665fb7 (diff) |
phy: phy-exynos-mipi-video: fix incorrect check for coupled phy state
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I6c7fc15e1284fc70b3e581e8203f8dd43de63bb3
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-exynos-mipi-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-exynos-mipi-video.c b/drivers/phy/phy-exynos-mipi-video.c index 123d92e60a5f..0bf1be22a913 100644 --- a/drivers/phy/phy-exynos-mipi-video.c +++ b/drivers/phy/phy-exynos-mipi-video.c @@ -84,7 +84,7 @@ static int __set_phy_state(const struct exynos_mipi_phy_desc *data, /* PHY PMU disable */ if (!on && data->coupled_id >= 0 && - __is_running(state->phys[data->coupled_id].data, state)) { + !__is_running(state->phys[data->coupled_id].data, state)) { regmap_read(state->regmaps[data->enable_map], data->enable_reg, &val); val &= ~data->enable_val; |