|
@@ -627,7 +627,7 @@ static int tlv320aic23_resume(struct platform_device *pdev)
|
|
u16 reg;
|
|
u16 reg;
|
|
|
|
|
|
/* Sync reg_cache with the hardware */
|
|
/* Sync reg_cache with the hardware */
|
|
- for (reg = 0; reg < TLV320AIC23_RESET; reg++) {
|
|
|
|
|
|
+ for (reg = 0; reg <= TLV320AIC23_ACTIVE; reg++) {
|
|
u16 val = tlv320aic23_read_reg_cache(codec, reg);
|
|
u16 val = tlv320aic23_read_reg_cache(codec, reg);
|
|
tlv320aic23_write(codec, reg, val);
|
|
tlv320aic23_write(codec, reg, val);
|
|
}
|
|
}
|