/* set up codec register and write the value @codec: the codec id, 0 or 1 @reg: register index @val: data value  */
static void vx_set_codec_reg(struct vx_core *chip, int codec, int reg, int val)
/* set up codec register and write the value @codec: the codec id, 0 or 1 @reg: register index @val: data value  */
static void vx_set_codec_reg(struct vx_core *chip, int codec, int reg, int val)
{
	union vx_codec_data data;
	SET_CDC_DATA_INIT(data);
	SET_CDC_DATA_REG(data, reg);
	SET_CDC_DATA_VAL(data, val);
	vx_write_codec_reg(chip, codec, data.l);
}