writel(val, priv->regs + CV1800B_TXDAC_CTRL0);
}
+/*
+ * Control the DAC overwrite bits. When enabled, the DAC outputs the fixed
+ * overwrite value instead of samples from the I2S input.
+ */
static void cv1800b_dac_mute(struct cv1800b_priv *priv, bool enable)
{
u32 val;
dev_err(priv->dev, "rate %u is not supported\n", rate);
return -EINVAL;
}
-
+ /* Clear DAC overwrite so playback uses I2S data. */
cv1800b_dac_mute(priv, false);
/* minimal decimation for 48kHz is 64*/
ret = cv1800b_dac_decimation(priv, DECIMATION_64);