Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757281AbZCMBDA (ORCPT ); Thu, 12 Mar 2009 21:03:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755329AbZCMBCv (ORCPT ); Thu, 12 Mar 2009 21:02:51 -0400 Received: from mail.renesas.com ([202.234.163.13]:41107 "EHLO mail03.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754139AbZCMBCu (ORCPT ); Thu, 12 Mar 2009 21:02:50 -0400 X-AuditID: ac140386-0000000700001aa8-63-49b9b0b21bdc Date: Fri, 13 Mar 2009 10:02:41 +0900 From: Nobuhiro Iwamatsu Subject: Re: [PATCH] dmaengine: sh: Add support DMA-Engine driver for DMA of SuperH In-reply-to: <20090312112231.GE1475@console-pimps.org> To: Matt Fleming Cc: Linux-sh , linux-kernel@vger.kernel.org, maciej.sosnowski@intel.com, dan.j.williams@intel.com, Paul Mundt Message-id: <49B9B0B1.6020703@renesas.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) References: <49B8AF67.8080309@renesas.com> <20090312112231.GE1475@console-pimps.org> X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1359 Lines: 56 Hi, Matt. Thank you for your review. Matt Fleming wrote: > On Thu, Mar 12, 2009 at 03:44:55PM +0900, Nobuhiro Iwamatsu wrote: >> This supports DMA-Engine driver for DMA of SuperH. >> This supported all DMA channels, and it was tested in SH7722/SH7780. >> This can not use with SH DMA API and can control this in Kconfig. >> > > I was working on support for this, but fortunately for me you beat me > to a finished implementation ;-) > > The code looks good to me. Just a few (very very) minor nits. > > Reviewed-by: Matt Fleming > > [...] > >> +/* for dma engine */ >> +/* mode */ >> +#define SHDMA_MIX_IRQ (1 << 1) > > The proper multi-line kernel comment style is > > /* > * > */ > > though this comment can all fit on one line. > OK, I fix it. >> + >> +static void dmae_init(struct sh_dmae_chan *sh_chan) >> +{ >> + u32 chcr = RS_DEFAULT; /* default is DUAL mode */ >> + sh_dmae_writel(sh_chan, chcr, CHCR); >> +} >> + >> +/* >> + * Reset DMA controler > > controler -> controller > Oops, thank you. I fix your check point and resend patch. Best regards, Nobuhiro -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/