From: Geng Xiujun Date: Wed, 23 May 2012 03:33:10 +0000 (+0800) Subject: Gfx-display: remove unnecessary sleep X-Git-Tag: 2.1b_release~698 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2b8d1a0a281bb90d40b9f87ad63c01101a88470;p=kernel%2Fkernel-mfld-blackbay.git Gfx-display: remove unnecessary sleep BZ: 37477 5ms sleep is unnecessary in pr2 panel's IC initialization as panel reset can make sure this wait time. Change-Id: I735e9e00651b28885d59bbc24bf2d96f0441a908 Signed-off-by: Geng Xiujun Reviewed-on: http://android.intel.com:8080/49804 Reviewed-by: Xu, Randy Reviewed-by: Hu, Austin Reviewed-by: Zhang, Lei Reviewed-by: Ai, Ke Reviewed-by: Hogander, Jouni Tested-by: Tong, BoX Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/drivers/staging/mrst/drv/tmd_6x10_vid.c b/drivers/staging/mrst/drv/tmd_6x10_vid.c index 0fb5cba..0ff7d0e 100755 --- a/drivers/staging/mrst/drv/tmd_6x10_vid.c +++ b/drivers/staging/mrst/drv/tmd_6x10_vid.c @@ -95,11 +95,6 @@ int mdfld_dsi_pr2_ic_init(struct mdfld_dsi_config *dsi_config, int pipe) printk(KERN_ALERT "[DISPLAY TRK] Enter %s\n", __func__); sender->status = MDFLD_DSI_PKG_SENDER_FREE; - /*wait for 5ms*/ - wait_timeout = jiffies + (HZ / 200); - while (time_before_eq(jiffies, wait_timeout)) - cpu_relax(); - mdfld_dsi_send_gen_long_lp(sender, pr2_mcs_protect_off, 4, 0); if (sender->status == MDFLD_DSI_CONTROL_ABNORMAL) return -EIO;