From: Andrew Morton <akpm@linux-foundation.org>
To: Ben Dooks <ben@simtec.co.uk>
Cc: linux-kernel@vger.kernel.org, drzeus-mmc@drzeus.cx
Subject: Re: s3cmci: fix s3c2410_dma_config() arguments.
Date: Wed, 11 Mar 2009 13:39:46 -0700 [thread overview]
Message-ID: <20090311133946.0fffc898.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090310235711.185285440@fluff.org.uk>
On Tue, 10 Mar 2009 23:57:11 +0000
Ben Dooks <ben@simtec.co.uk> wrote:
> From: Ben Dooks <ben@simtec.co.uk>
>
> The s3cmci driver is calling s3c2410_dma_config with incorrect data
> for the DCON register. The S3C2410_DCON_HWTRIG is implicit in the
> channel configuration and the device selection of S3C2410_DCON_CH0_SDI
> is incorrect as the DMA system may not select channel 0.
>
> Signed-off-by: Ben Dooks <ben@simtec.co.uk>
>
> Index: linux.git/drivers/mmc/host/s3cmci.c
> ===================================================================
> --- linux.git.orig/drivers/mmc/host/s3cmci.c 2009-01-20 09:07:50.000000000 +0000
> +++ linux.git/drivers/mmc/host/s3cmci.c 2009-01-20 09:08:11.000000000 +0000
> @@ -793,8 +793,7 @@ static void s3cmci_dma_setup(struct s3cm
> host->mem->start + host->sdidata);
>
> if (!setup_ok) {
> - s3c2410_dma_config(host->dma, 4,
> - (S3C2410_DCON_HWTRIG | S3C2410_DCON_CH0_SDI));
> + s3c2410_dma_config(host->dma, 4, 0);
> s3c2410_dma_set_buffdone_fn(host->dma,
> s3cmci_dma_done_callback);
> s3c2410_dma_setflags(host->dma, S3C2410_DMAF_AUTOSTART);
>
This looks like 2.6.29 material?
mmc-in-mmc_power_up-use-previously-selected-ocr-if-available.patch also
looks like 2.6.29 material to me, but Pierre isn't answering the phone.
I'll scoot both these into Linus tomorrowish unless told otherwise.
next prev parent reply other threads:[~2009-03-11 20:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 23:57 s3cmci: fix s3c2410_dma_config() arguments Ben Dooks
2009-03-11 20:39 ` Andrew Morton [this message]
2009-03-11 21:25 ` Pierre Ossman
-- strict thread matches above, loose matches on Subject: below --
2009-03-10 23:15 Ben Dooks
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=20090311133946.0fffc898.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=ben@simtec.co.uk \
--cc=drzeus-mmc@drzeus.cx \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox