diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-05-03 15:08:50 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-07 10:58:53 +0100 |
commit | 9d12028884bd2a5cc1fa7dea5090a4e7f392fdf4 (patch) | |
tree | 8ea4cef9cc7e301d25371f467030b419405d5322 /drivers/gpu/drm/gma500 | |
parent | 232e6686abb011c8a1b4101245814c730efb1f0a (diff) | |
download | blackbird-op-linux-9d12028884bd2a5cc1fa7dea5090a4e7f392fdf4.tar.gz blackbird-op-linux-9d12028884bd2a5cc1fa7dea5090a4e7f392fdf4.zip |
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) 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); |