commit | 0e6bcf3a1539eff7a7c16af18de65f186b177ea4 | [log] [tgz] |
---|---|---|
author | Emil Renner Berthing <kernel@esmil.dk> | Sun Mar 30 00:21:21 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 25 16:11:03 2014 -0700 |
tree | c501b1ea49783f258c8cdb91ec9c9b1b10ef4910 | |
parent | 9e74d2926a283dac17d3ab22ca982aab3a4a05d8 [diff] |
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 <kernel@esmil.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>