diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-05-03 18:08:50 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-07 13:58:53 +0400 |
commit | 9d12028884bd2a5cc1fa7dea5090a4e7f392fdf4 (patch) | |
tree | 8ea4cef9cc7e301d25371f467030b419405d5322 /drivers/gpu/drm/gma500/psb_irq.c | |
parent | 232e6686abb011c8a1b4101245814c730efb1f0a (diff) | |
download | linux-9d12028884bd2a5cc1fa7dea5090a4e7f392fdf4.tar.xz |
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/psb_irq.c')
-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) psb_disable_pipestat(dev_priv, 0, PIPE_DPST_EVENT_ENABLE); pwm_reg = PSB_RVDC32(PWM_CONTROL_LOGIC); - PSB_WVDC32(pwm_reg & !(PWM_PHASEIN_INT_ENABLE), + PSB_WVDC32(pwm_reg & ~PWM_PHASEIN_INT_ENABLE, PWM_CONTROL_LOGIC); pwm_reg = PSB_RVDC32(PWM_CONTROL_LOGIC); |