From: Mike Frysinger <vapier.adi@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: cliffcai.sh@gmail.com, linux-mmc@vger.kernel.org,
linux-kernel@vger.kernel.org, cliff.cai@analog.com,
Bryan Wu <cooloney@kernel.org>,
Mike Frysinger <vapier@gentoo.org>
Subject: Re: [PATCH v4][mmc/host]:Blackfin SD Host Controller Driver
Date: Thu, 3 Dec 2009 21:08:58 -0500 [thread overview]
Message-ID: <8bd0f97a0912031808p5032f8c8i804d72dfad5b51b2@mail.gmail.com> (raw)
In-Reply-To: <20091125140422.cdee4a0d.akpm@linux-foundation.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2173 bytes --]
On Wed, Nov 25, 2009 at 17:04, Andrew Morton wrote:> --- a/drivers/mmc/host/bfin_sdh.c~blackfin-sd-host-controller-driver-fix> +++ a/drivers/mmc/host/bfin_sdh.c> @@ -149,15 +149,17 @@ static int sdh_setup_data(struct sdh_hos> Â Â Â Â sdh_enable_stat_irq(host, (DAT_CRC_FAIL | DAT_TIME_OUT | DAT_END));> Â Â Â Â host->dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, host->dma_dir);> Â #if defined(CONFIG_BF54x)> - Â Â Â int i;> Â Â Â Â dma_cfg |= DMAFLOW_ARRAY | NDSIZE_5 | RESTART | WDSIZE_32 | DMAEN;> - Â Â Â for_each_sg(data->sg, sg, host->dma_len, i) {> - Â Â Â Â Â Â Â host->sg_cpu[i].start_addr = sg_dma_address(sg);> - Â Â Â Â Â Â Â host->sg_cpu[i].cfg = dma_cfg;> - Â Â Â Â Â Â Â host->sg_cpu[i].x_count = sg_dma_len(sg) / 4;> - Â Â Â Â Â Â Â host->sg_cpu[i].x_modify = 4;> - Â Â Â Â Â Â Â dev_dbg(mmc_dev(host->mmc), "%d: start_addr:0x%lx, cfg:0x%x, x_count:0x%x,\> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â x_modify:0x%x\n", i, host->sg_cpu[i].start_addr,> + Â Â Â {> + Â Â Â Â Â Â Â int i;> + Â Â Â Â Â Â Â for_each_sg(data->sg, sg, host->dma_len, i) {> + Â Â Â Â Â Â Â Â Â Â Â host->sg_cpu[i].start_addr = sg_dma_address(sg);> + Â Â Â Â Â Â Â Â Â Â Â host->sg_cpu[i].cfg = dma_cfg;> + Â Â Â Â Â Â Â Â Â Â Â host->sg_cpu[i].x_count = sg_dma_len(sg) / 4;> + Â Â Â Â Â Â Â Â Â Â Â host->sg_cpu[i].x_modify = 4;> + Â Â Â Â Â Â Â Â Â Â Â dev_dbg(mmc_dev(host->mmc), "%d: start_addr:0x%lx, "> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â "cfg:0x%x, x_count:0x%x, x_modify:0x%x\n",> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â i, host->sg_cpu[i].start_addr,> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â host->sg_cpu[i].cfg, host->sg_cpu[i].x_count,> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â host->sg_cpu[i].x_modify);> Â Â Â Â }
this change also has an error in it ... the new opening brace bracestole the closing brace from the for_each_sg()-mikeÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
prev parent reply other threads:[~2009-12-04 2:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-25 15:19 cliffcai.sh
2009-11-25 22:04 ` Andrew Morton
2009-11-25 22:25 ` Mike Frysinger
2009-11-25 22:43 ` Andrew Morton
2009-11-29 21:39 ` Mike Frysinger
2009-12-04 2:08 ` Mike Frysinger [this message]
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=8bd0f97a0912031808p5032f8c8i804d72dfad5b51b2@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cliff.cai@analog.com \
--cc=cliffcai.sh@gmail.com \
--cc=cooloney@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=vapier@gentoo.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
all inboxes | Powered by JetHome®