diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-05-03 10:08:50 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-07 05:58:53 -0400 |
commit | 9d12028884bd2a5cc1fa7dea5090a4e7f392fdf4 (patch) | |
tree | 8ea4cef9cc7e301d25371f467030b419405d5322 /drivers/gpu/drm/gma500 | |
parent | 232e6686abb011c8a1b4101245814c730efb1f0a (diff) |
gma500: psb_irq_turn_off_dpst() fix bit operation
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index 4ffb2a062098..8652cdf3f03f 100644 --- a/drivers/gpu/drm/gma500/psb_irq.c +++ b/drivers/gpu/drm/gma500/psb_irq.c | |||
@@ -426,7 +426,7 @@ void psb_irq_turn_off_dpst(struct drm_device *dev) | |||
426 | psb_disable_pipestat(dev_priv, 0, PIPE_DPST_EVENT_ENABLE); | 426 | psb_disable_pipestat(dev_priv, 0, PIPE_DPST_EVENT_ENABLE); |
427 | 427 | ||
428 | pwm_reg = PSB_RVDC32(PWM_CONTROL_LOGIC); | 428 | pwm_reg = PSB_RVDC32(PWM_CONTROL_LOGIC); |
429 | PSB_WVDC32(pwm_reg & !(PWM_PHASEIN_INT_ENABLE), | 429 | PSB_WVDC32(pwm_reg & ~PWM_PHASEIN_INT_ENABLE, |
430 | PWM_CONTROL_LOGIC); | 430 | PWM_CONTROL_LOGIC); |
431 | pwm_reg = PSB_RVDC32(PWM_CONTROL_LOGIC); | 431 | pwm_reg = PSB_RVDC32(PWM_CONTROL_LOGIC); |
432 | 432 | ||