From: Marek Szyprowski Date: Tue, 26 Jul 2016 11:08:08 +0000 (+0200) Subject: phy: phy-exynos-mipi-video: fix incorrect check for coupled phy state X-Git-Tag: submit/tizen/20160810.050017~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe7e0bca0e7debf0f8611e11b2a8ffd3756334f9;p=platform%2Fkernel%2Flinux-exynos.git phy: phy-exynos-mipi-video: fix incorrect check for coupled phy state Signed-off-by: Marek Szyprowski Change-Id: I6c7fc15e1284fc70b3e581e8203f8dd43de63bb3 --- 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;