Rev 4280 | Rev 4371 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4280 | Rev 4293 | ||
---|---|---|---|
Line 6159... | Line 6159... | ||
6159 | 6159 | ||
6160 | dev_priv->pc8.disable_count++; |
6160 | dev_priv->pc8.disable_count++; |
6161 | if (dev_priv->pc8.disable_count != 1) |
6161 | if (dev_priv->pc8.disable_count != 1) |
Line 6162... | Line 6162... | ||
6162 | return; |
6162 | return; |
6163 | 6163 | ||
6164 | // cancel_delayed_work_sync(&dev_priv->pc8.enable_work); |
6164 | cancel_delayed_work_sync(&dev_priv->pc8.enable_work); |
Line 6165... | Line 6165... | ||
6165 | if (!dev_priv->pc8.enabled) |
6165 | if (!dev_priv->pc8.enabled) |
Line 7564... | Line 7564... | ||
7564 | work = intel_crtc->unpin_work; |
7564 | work = intel_crtc->unpin_work; |
7565 | intel_crtc->unpin_work = NULL; |
7565 | intel_crtc->unpin_work = NULL; |
7566 | spin_unlock_irqrestore(&dev->event_lock, flags); |
7566 | spin_unlock_irqrestore(&dev->event_lock, flags); |
Line 7567... | Line 7567... | ||
7567 | 7567 | ||
7568 | if (work) { |
7568 | if (work) { |
7569 | // cancel_work_sync(&work->work); |
7569 | cancel_work_sync(&work->work); |
7570 | kfree(work); |
7570 | kfree(work); |
Line 7571... | Line 7571... | ||
7571 | } |
7571 | } |