From: "Arun KS" <arunks@mistralsolutions.com>
To: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: "linux-omap@vger.kernel.org List" <linux-omap@vger.kernel.org>,
alsa-devel@vger.kernel.org, felipe.balbi@nokia.com
Subject: Re: [PATCH 3/5] [RFC] ALSA ASOC Adds DSP DAI format support for platform driver
Date: Tue, 30 Sep 2008 12:11:45 +0530 [thread overview]
Message-ID: <dfeb90390809292341l2264ff52m80830952b38ea25f@mail.gmail.com> (raw)
In-Reply-To: <20080929141540.e6ae8ead.jarkko.nikula@nokia.com>
On Mon, Sep 29, 2008 at 4:45 PM, Jarkko Nikula <jarkko.nikula@nokia.com> wrote:
> On Mon, 29 Sep 2008 15:20:12 +0530
> "ext Arun KS" <arunks@mistralsolutions.com> wrote:
>
>> Enables DSP DAI format for mcbsp in omap platform driver
>>
>> Signed-off-by: Arun KS <arunks@mistralsolutions.com>
>> ---
>> sound/soc/omap/omap-mcbsp.c | 6 ++++++
>> 1 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
>> index 3a4cc4b..1c024aa 100644
>> --- a/sound/soc/omap/omap-mcbsp.c
>> +++ b/sound/soc/omap/omap-mcbsp.c
>> @@ -292,6 +292,12 @@ static int omap_mcbsp_dai_set_dai_fmt(struct
>> snd_soc_dai *cpu_dai,
>> regs->rcr2 |= RDATDLY(1);
>> regs->xcr2 |= XDATDLY(1);
>> break;
>> + case SND_SOC_DAIFMT_DSP_A:
>> + /* 0-bit data delay */
>> + regs->rcr2 |= RDATDLY(0);
>> + regs->xcr2 |= XDATDLY(0);
>> + break;
>> +
>> default:
>
> I think this is not enough. The word clock length equals to one BCLK
> cycle in DSP mode. Not n channel bit BCLK cycles like in I2S.
>
In DSP Mode, Frame sync is followed by two data words.
I tested this patch and its working. Am i missing something ?
>
> Jarkko
> --
> To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2008-09-30 6:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-29 9:50 [PATCH 3/5] [RFC] ALSA ASOC Adds DSP DAI format support for platform driver Arun KS
2008-09-29 11:06 ` Mark Brown
2008-09-29 11:15 ` Jarkko Nikula
2008-09-29 12:54 ` Arun KS
2008-09-29 12:54 ` Arun KS
2008-09-30 6:41 ` Arun KS
2008-09-30 6:41 ` Arun KS [this message]
2008-09-30 13:11 ` Jarkko Nikula
2008-09-30 13:11 ` Jarkko Nikula
2008-09-29 11:15 ` Jarkko Nikula
-- strict thread matches above, loose matches on Subject: below --
2008-09-29 9:50 Arun KS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dfeb90390809292341l2264ff52m80830952b38ea25f@mail.gmail.com \
--to=arunks@mistralsolutions.com \
--cc=alsa-devel@vger.kernel.org \
--cc=felipe.balbi@nokia.com \
--cc=jarkko.nikula@nokia.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.