summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dpll_mgr.c
diff options
context:
space:
mode:
authorNicolas Ferre2016-06-26 09:44:49 +0200
committerGreg Kroah-Hartman2016-06-26 19:57:13 +0200
commit98f2082c3ac4042189723c120553310700b583bb (patch)
tree8b1c5815105f03574a14f36be1f44c6ddbda40d6 /drivers/gpu/drm/i915/intel_dpll_mgr.c
parentserial: sh-sci: Stop transfers in sci_shutdown() (diff)
downloadkernel-qcow2-linux-98f2082c3ac4042189723c120553310700b583bb.tar.gz
kernel-qcow2-linux-98f2082c3ac4042189723c120553310700b583bb.tar.xz
kernel-qcow2-linux-98f2082c3ac4042189723c120553310700b583bb.zip
tty/serial: atmel: enforce tasklet init and termination sequences
As some race conditions are identified in the termination process of tasklets, enforce the atmel_shutdown() sequence. This way we make sure that no new tasklets or software timer are scheduled during shutdown process. An atomic flag is positioned to give this information throughout the code. We also remove tasklet_disable() calls that were leading to deadlocks while stopping the driver. A simpler init/kill sequence is used. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dpll_mgr.c')
0 files changed, 0 insertions, 0 deletions