/* @priv: Private driver data @reg: Register number to read @data: Data to write  */
static int rt5677_i2c_write(struct rt5677_priv *priv, uint reg, uint data)
/* @priv: Private driver data @reg: Register number to read @data: Data to write  */
static int rt5677_i2c_write(struct rt5677_priv *priv, uint reg, uint data)
{
	u8 buf[2];
	buf[0] = (data >> 8) & 0xff;
	buf[1] = data & 0xff;
	return dm_i2c_write(priv->dev, reg, buf, sizeof(u16));
}