/* The codec has no support for reading its registers except for peak level...  */
static unsigned int uda134x_read_reg_cache(struct snd_soc_codec *codec, unsigned int reg)
/* The codec has no support for reading its registers except for peak level...  */
static unsigned int uda134x_read_reg_cache(struct snd_soc_codec *codec, unsigned int reg)
{
	u8 *cache = codec->reg_cache;
	if (reg >= UDA134X_REGS_NUM)
		return -1;
	return cache[reg];
}