From: Sangbeom Kim <sbkim73@samsung.com>
To: 'Jassi Brar' <jassisinghbrar@gmail.com>
Cc: alsa-devel@alsa-project.org, kgene.kim@samsung.com,
broonie@opensource.wolfsonmicro.com,
linux-samsung-soc@vger.kernel.org, ben-linux@fluff.org,
lrg@slimlogic.co.uk
Subject: RE: [alsa-devel] [PATCH 1/4] ASoC: SAMSUNG: Modify I2S driver to support idma
Date: Mon, 13 Jun 2011 16:58:52 +0900 [thread overview]
Message-ID: <005101cc299f$bde608d0$39b21a70$@com> (raw)
In-Reply-To: <BANLkTikbB6RG5Q+xGUEtxDzFGWSpe+c+6Q@mail.gmail.com>
On Thu, Jun 9, 2011 at 8:31 PM, Jassi Brar wrote:
>
> > case 2:
> > + if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
> > + i2s->dma_playback.dma_size = 4;
> > + else
> > + i2s->dma_capture.dma_size = 4;
> > + break;
>
> Why do we need this ?
This code don't need here, I will delete it.
>
>
>
> > + case 1:
> > + if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
> > + i2s->dma_playback.dma_size = 2;
> > + else
> > + i2s->dma_capture.dma_size = 2;
>
> I2S doesn't support Mono.
Yes, But some application require mono recording.
It is needed mono recording support.
>
> > #define SAMSUNG_I2S_RCLKSRC_0 0
> > #define SAMSUNG_I2S_RCLKSRC_1 1
> > -#define SAMSUNG_I2S_CDCLK 2
> > +#define SAMSUNG_I2S_CDCLK 2
> Please avoid inconsequential changes.
OK,
> The need of i2s.h is for machine drivers. Please move these register/bit
> definitions to a new header(say i2s-regs.h) if we have to share them with
> idma.c
OK, I2S register have to share with idma, I will create new header file.
>
> > +#define msecs_to_loops(t) (loops_per_jiffy / 1000 * HZ * t)
> > +
> > +#define ST_RUNNING (1<<0)
> > +#define ST_OPENED (1<<1)
> These should be moved to the c file that uses them.
I will move it.
Thanks,
next prev parent reply other threads:[~2011-06-13 7:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-09 8:09 [PATCH 0/4] Adding idma driver for samsung SoCs Sangbeom Kim
2011-06-09 8:09 ` [PATCH 1/4] ASoC: SAMSUNG: Modify I2S driver to support idma Sangbeom Kim
2011-06-10 11:31 ` Jassi Brar
2011-06-13 7:58 ` Sangbeom Kim [this message]
2011-06-13 8:57 ` Jassi Brar
2011-06-09 8:09 ` [PATCH 2/4] ASoC: SAMSUNG: Add I2S0 internal dma driver Sangbeom Kim
2011-06-09 9:50 ` Liam Girdwood
2011-06-09 23:31 ` Sangbeom Kim
2011-06-09 12:33 ` Kyungmin Park
2011-06-09 23:41 ` [alsa-devel] " Sangbeom Kim
2011-06-10 10:08 ` Jassi Brar
2011-06-13 7:55 ` [alsa-devel] " Sangbeom Kim
2011-06-13 9:07 ` Jassi Brar
2011-06-13 9:40 ` Jassi Brar
2011-06-09 8:09 ` [PATCH 3/4] ASoC: SAMSUNG: Change platform driver for SMDKs Sangbeom Kim
2011-06-09 10:46 ` Mark Brown
2011-06-09 23:36 ` [alsa-devel] " Sangbeom Kim
2011-06-10 7:03 ` Jassi Brar
2011-06-10 7:16 ` [alsa-devel] " Sangbeom Kim
2011-06-10 7:26 ` Jassi Brar
2011-06-10 9:49 ` [alsa-devel] " Mark Brown
2011-06-10 10:12 ` Jassi Brar
2011-06-10 10:16 ` Mark Brown
2011-06-10 10:43 ` [alsa-devel] " Jassi Brar
2011-06-13 1:47 ` Sangbeom Kim
2011-06-09 8:09 ` [PATCH 4/4] ARM: SAMSUNG: Add platform device for idma Sangbeom Kim
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='005101cc299f$bde608d0$39b21a70$@com' \
--to=sbkim73@samsung.com \
--cc=alsa-devel@alsa-project.org \
--cc=ben-linux@fluff.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=jassisinghbrar@gmail.com \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lrg@slimlogic.co.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox