diff options
author | Imre Deak <imre.deak@intel.com> | 2014-08-18 14:42:44 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2014-08-18 16:16:03 +0300 |
commit | 1d0d343abb70922adebebc1cfcef6622f4c7edec (patch) | |
tree | caedb147da5e3f9609d87aa02b8443497daa5594 /net/batman-adv/hash.c | |
parent | 6323751d28b0cc785dab972eff6b7fca1a165a40 (diff) | |
download | blackbird-op-linux-1d0d343abb70922adebebc1cfcef6622f4c7edec.tar.gz blackbird-op-linux-1d0d343abb70922adebebc1cfcef6622f4c7edec.zip |
drm/i915: cancel hotplug and dig_port work during suspend and unload
Make sure these work handlers don't run after we system suspend or
unload the driver. Note that we don't cancel the handlers during runtime
suspend. That could lead to a lockup, since we take a runtime PM ref
from the handlers themselves. Fortunaltely canceling there is not needed
since the RPM ref itself provides for the needed serialization.
v2:
- fix the order of canceling dig_port_work wrt. hotplug_work (Ville)
- zero out {long,short}_hpd_port_mask and hpd_event_bits for speed
(Ville)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org (3.16+)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'net/batman-adv/hash.c')
0 files changed, 0 insertions, 0 deletions