• M
    mfd: Mask and unmask wm8350 IRQs on request and free · 6a612746
    Mark Brown 提交于
    Bring the WM8350 IRQ API more in line with the generic IRQ API by
    masking and unmasking interrupts as they are requested and freed.
    This is mostly just a case of deleting the mask and unmask calls
    from the individual drivers.
    
    The RTC driver is changed to mask the periodic IRQ after requesting
    it rather than only unmasking the alarm IRQ. If the periodic IRQ
    fires in the period where it is reqested then there will be a
    spurious notification but there should be no serious consequences
    from this.
    
    The CODEC drive is changed to explicitly disable headphone jack
    detection prior to requesting the IRQs. This will avoid the IRQ
    firing with no jack set up.
    Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
    6a612746
wm8350-irq.c 13.3 KB