 
            
            
            
            
                12 Nov
                
                    2019
                
            
            
                12 Nov
                
                '19
                
            
            
            
        
    
                6:10 p.m.
            
        On Tue, Nov 12, 2019 at 02:02:37PM +0100, Pawel Harlozinski wrote:
/* Disable jack detection */ regmap_update_bits(rt274->regmap, RT274_EAPD_GPIO_IRQ_CTRL, RT274_IRQ_EN, RT274_IRQ_DIS);
return 0;
disable_irq(rt274->i2c->irq);
Shouldn't the register update above be suppressing interrupts? disable_irq() is a bit of a hammer and interferes with things like possible share use.