 
            
            
            
            
                30 Jun
                
                    2015
                
            
            
                30 Jun
                
                '15
                
            
            
            
        
    
                12:46 p.m.
            
        On Sun, Jun 28, 2015 at 10:46:51AM +0800, Axel Lin wrote:
static const struct regmap_config ak4642_regmap = { .reg_bits = 8, .val_bits = 8,
- .max_register = ARRAY_SIZE(ak4642_reg) + 1,
- .max_register = FIL1_3, .reg_defaults = ak4642_reg,
- .num_reg_defaults = ARRAY_SIZE(ak4642_reg),
- .num_reg_defaults = FIL1_3 + 1,
This change is incorrect, the number of register defaults must match the size of the array of register defaults being passed in. Why are you changing this?