Re: [PATCH] ASoC: SAMSUNG: Fix the inverted clocks handling for pcm driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 9, 2011 at 7:23 AM, Sangbeom Kim <sbkim73@xxxxxxxxxxx> wrote:
> Fix the inverted clocks handling for pcm cpu driver.
> By using SND_SOC_DAIFMT_NB_NF, Audio noise can be generated on SMDK.
>
> Signed-off-by: Sangbeom Kim <sbkim73@xxxxxxxxxxx>
> ---
> Âsound/soc/samsung/pcm.c | Â Â4 ++--
> Â1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
> index 38aac7d..9c7e8b4 100644
> --- a/sound/soc/samsung/pcm.c
> +++ b/sound/soc/samsung/pcm.c
> @@ -350,8 +350,8 @@ static int s3c_pcm_set_fmt(struct snd_soc_dai *cpu_dai,
> Â Â Â Âctl = readl(regs + S3C_PCM_CTL);
>
> Â Â Â Âswitch (fmt & SND_SOC_DAIFMT_INV_MASK) {
> - Â Â Â case SND_SOC_DAIFMT_NB_NF:
> - Â Â Â Â Â Â Â /* Nothing to do, NB_NF by default */
> + Â Â Â case SND_SOC_DAIFMT_IB_NF:
> + Â Â Â Â Â Â Â /* Nothing to do, IB_NF by default */

Assuming you already compared screenshot
of a scope and what's mentioned in the manual for IB_NF  ...

Acked-by: Jassi Brar <jassisinghbrar@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux