/* wm8400_reset_codec_reg_cache - Reset cached codec registers to their default values.  */
void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400)
/* wm8400_reset_codec_reg_cache - Reset cached codec registers to their default values.  */
void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400)
{
	int i;
	mutex_lock(&wm8400->io_lock);
	for (i = 0; i < ARRAY_SIZE(wm8400->reg_cache); i++)
		if (reg_data[i].is_codec)
			wm8400->reg_cache[i] = reg_data[i].default_val;
	mutex_unlock(&wm8400->io_lock);
}