From: Emil Renner Berthing Date: Sat, 29 Mar 2014 23:21:21 +0000 (+0100) Subject: staging: imx-drm: imx-hdmi: clean up hdmi_phy_wait_i2c_done X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1237 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6bcf3a1539eff7a7c16af18de65f186b177ea4;p=pandora-kernel.git staging: imx-drm: imx-hdmi: clean up hdmi_phy_wait_i2c_done Simplify hdmi_phy_wait_i2c_done so the call to hdmi_readb is only done in one place. Also check for timout before waiting as suggested by Troy Kisky. This also fixes a checkpatch warning. Signed-off-by: Emil Renner Berthing Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed