]> Pileus Git - ~andy/linux/commit
mfd: rtsx_pcr: Disable interrupts before cancelling delayed works
authorThomas Gleixner <tglx@linutronix.de>
Mon, 2 Dec 2013 11:20:36 +0000 (12:20 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 10 Dec 2013 11:05:37 +0000 (12:05 +0100)
commit73beb63d290f961c299526852884846b0d868840
tree04605fbddf59914e379b2cf0830e53e66ca56797
parent78fd82238d0e5716578c326404184a27ba67fd6e
mfd: rtsx_pcr: Disable interrupts before cancelling delayed works

This fixes a kernel panic when resuming from suspend to RAM.
Without this fix an interrupt hits after the delayed work is canceled
and thus requeues it. So we end up freeing an armed timer.

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/rtsx_pcr.c