summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/broadwell/igd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/igd.c b/src/soc/intel/broadwell/igd.c
index 37f3871483..ecb5417181 100644
--- a/src/soc/intel/broadwell/igd.c
+++ b/src/soc/intel/broadwell/igd.c
@@ -348,10 +348,10 @@ static void igd_setup_panel(struct device *dev)
south_chicken2 = gtt_read(SOUTH_CHICKEN2);
if (conf->gpu_pch_backlight_pwm_hz > hz_limit) {
pwm_increment = 16;
- south_chicken2 &= ~(1 << 5);
+ south_chicken2 |= 1 << 5;
} else {
pwm_increment = 128;
- south_chicken2 |= 1 << 5;
+ south_chicken2 &= ~(1 << 5);
}
gtt_write(SOUTH_CHICKEN2, south_chicken2);