From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Ben Dooks <ben-linux@fluff.org>
Cc: Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org,
Christian Pellegrin <chripell@gmail.com>,
Christian Pellegrin <chripell@fsfe.org>
Subject: Re: [PATCH 2/4] ASoC: s3c24xx 8 bit sound fix
Date: Wed, 12 Nov 2008 14:59:53 +0000 [thread overview]
Message-ID: <20081112145952.GA28971@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <20081112141902.GA15238@trinity.fluff.org>
On Wed, Nov 12, 2008 at 02:19:02PM +0000, Ben Dooks wrote:
> On Wed, Nov 12, 2008 at 11:55:47AM +0000, Mark Brown wrote:
> > case SNDRV_PCM_FORMAT_S8:
> > + iismod &= ~S3C2410_IISMOD_16BIT;
> > + ((struct s3c24xx_pcm_dma_params *)
> > + rtd->dai->cpu_dai->dma_data)->dma_size = 1;
> > break;
> > case SNDRV_PCM_FORMAT_S16_LE:
> > iismod |= S3C2410_IISMOD_16BIT;
> > + ((struct s3c24xx_pcm_dma_params *)
> > + rtd->dai->cpu_dai->dma_data)->dma_size = 2;
> > break;
> Is playing with the dma parameters like that the correct way?
It makes the DMA size match the input data size which doesn't seem
totally unreasonable.
This is all internal to the s3c24xx I2S driver - what this does is
change the parameter passed by the DMA driver to s3c2410_dma_config()
for the I2S DMA channels which is just read blindly. This parameter is
not exposed to user space.
next prev parent reply other threads:[~2008-11-12 14:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 11:55 [PATCH 0/4] ASoC updates Mark Brown
2008-11-12 11:55 ` [PATCH 1/4] ASoC: TLV320AIC23B Support more sample rates Mark Brown
2008-11-12 11:55 ` [PATCH 2/4] ASoC: s3c24xx 8 bit sound fix Mark Brown
2008-11-12 11:55 ` [PATCH 3/4] ASoC: Add Right-Justified mode and Codec clock master to davinci-i2s Mark Brown
2008-11-12 11:55 ` [PATCH 4/4] ASoC: DaVinci: Audio: Fix swapping of channels at start of stereo playback Mark Brown
2008-11-12 12:33 ` [PATCH 2/4] ASoC: s3c24xx 8 bit sound fix Takashi Iwai
2008-11-12 15:10 ` Mark Brown
2008-11-12 15:16 ` Takashi Iwai
2008-11-12 15:25 ` Mark Brown
2008-11-12 14:19 ` Ben Dooks
2008-11-12 14:21 ` Takashi Iwai
2008-11-12 14:59 ` Mark Brown [this message]
2008-11-12 17:29 ` christian pellegrin
2008-11-12 12:31 ` [PATCH 0/4] ASoC updates Takashi Iwai
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=20081112145952.GA28971@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=ben-linux@fluff.org \
--cc=chripell@fsfe.org \
--cc=chripell@gmail.com \
--cc=tiwai@suse.de \
/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.