diff options
author | Rahul Sharma <Rahul.Sharma@samsung.com> | 2014-04-20 15:51:15 +0530 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-06-02 02:07:07 +0900 |
commit | 8e9c3f386db522454aaf2d6408446b0c663c6a86 (patch) | |
tree | bdda9616d94c279c4e0cd44ab0457e621f05568f | |
parent | bfa48423adde04679eba9f8b0eeb987d0169e1c1 (diff) | |
download | linux-8e9c3f386db522454aaf2d6408446b0c663c6a86.tar.gz linux-8e9c3f386db522454aaf2d6408446b0c663c6a86.tar.bz2 linux-8e9c3f386db522454aaf2d6408446b0c663c6a86.zip |
drm/exynos: remove unnecessary read for phy configuration values
Cleaning up unnecessary i2c read call after hdmiphy configuration.
This check is redundant since check for hdmiphy pll lock status
confirms the correct settings for phy.
Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 9c406da07cd4..256e47252edf 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1490,7 +1490,6 @@ static void hdmiphy_conf_apply(struct hdmi_context *hdata) const u8 *hdmiphy_data; u8 buffer[32]; u8 operation[2]; - u8 read_buffer[32] = {0, }; int ret; int i; @@ -1530,15 +1529,6 @@ static void hdmiphy_conf_apply(struct hdmi_context *hdata) return; } - ret = i2c_master_recv(hdata->hdmiphy_port, read_buffer, 32); - if (ret < 0) { - DRM_ERROR("failed to read hdmiphy config\n"); - return; - } - - for (i = 0; i < ret; i++) - DRM_DEBUG_KMS("hdmiphy[0x%02x] write[0x%02x] - " - "recv [0x%02x]\n", i, buffer[i], read_buffer[i]); } static void hdmi_conf_apply(struct hdmi_context *hdata) |