drivers/intel/gma: Equality comparison with extraneous parentheses

Spotted by Clang.

Change-Id: I3e612c0fa050a09fa7e5b1cb643935b84eb2b957
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6053
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Idwer Vollering <vidwer@gmail.com>
This commit is contained in:
Edward O'Callaghan 2014-06-17 15:09:51 +10:00 committed by Kyösti Mälkki
parent 3722f3c3f5
commit 669cb2f0c4
1 changed files with 2 additions and 2 deletions

View File

@ -811,7 +811,7 @@ void ironlake_edp_panel_on(struct intel_dp *intel_dp)
ironlake_wait_panel_power_cycle(intel_dp); ironlake_wait_panel_power_cycle(intel_dp);
pp = ironlake_get_pp_control(); pp = ironlake_get_pp_control();
if ((intel_dp->gen == 5)) { if (intel_dp->gen == 5) {
/* ILK workaround: disable reset around power sequence */ /* ILK workaround: disable reset around power sequence */
pp &= ~PANEL_POWER_RESET; pp &= ~PANEL_POWER_RESET;
io_i915_write32(pp, PCH_PP_CONTROL); io_i915_write32(pp, PCH_PP_CONTROL);
@ -827,7 +827,7 @@ void ironlake_edp_panel_on(struct intel_dp *intel_dp)
ironlake_wait_panel_on(intel_dp); ironlake_wait_panel_on(intel_dp);
if ((intel_dp->gen == 5)) { if (intel_dp->gen == 5) {
pp |= PANEL_POWER_RESET; /* restore panel reset bit */ pp |= PANEL_POWER_RESET; /* restore panel reset bit */
io_i915_write32(pp, PCH_PP_CONTROL); io_i915_write32(pp, PCH_PP_CONTROL);
////POSTING_READ(PCH_PP_CONTROL); ////POSTING_READ(PCH_PP_CONTROL);