 
            
            
            
            
                9 Feb
                
                    2023
                
            
            
                9 Feb
                
                '23
                
            
            
            
        
    
                4:10 p.m.
            
        On Tue, Feb 07, 2023 at 05:09:46PM +0800, shumingf@realtek.com wrote:
- /* pin attached */
- if (det_mode) {
/* read UMP message offset */
ret = regmap_read(rt712->regmap,
}
}- } else
rt712->jack_type = 0;
If one side of an if has { } the other side should too for clarity.