Skip to content
Commit 29c71b13 authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

rtc: Suppress duplicate enable/disable of WM8350 update interrupt



Unlike the wm8350-custom code genirq nests enable and disable calls
so we can't just unconditionally mask or unmask the interrupt,
we need to remember the state we set and only mask or unmask when
there is a real change.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Cc: rtc-linux@googlegroups.com
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent f99344fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment