From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E1526B0.5060308@freescale.com> Date: Thu, 7 Jul 2011 11:23:28 +0800 From: Huang Shijie MIME-Version: 1.0 To: Shawn Guo Subject: Re: [PATCH] dmaengine: mxs-dma: skip request_irq for NO_IRQ References: <20110630052855.GE25931@S2100-06.ap.freescale.net> <1309421193-7785-1-git-send-email-shawn.guo@linaro.org> <20110707001530.GE4034@S2100-06.ap.freescale.net> <1310004360.20150.16.camel@psiaudioba-mobl1> <20110707032441.GF4034@S2100-06.ap.freescale.net> In-Reply-To: <20110707032441.GF4034@S2100-06.ap.freescale.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Vinod Koul , Shawn Guo , linux-mtd@lists.infradead.org, Wolfram Sang , linux-arm-kernel@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , =E4=BA=8E 2011=E5=B9=B407=E6=9C=8807=E6=97=A5 11:24, Shawn Guo =E5=86=99=E9= =81=93: > On Thu, Jul 07, 2011 at 07:36:00AM +0530, Vinod Koul wrote: >> On Thu, 2011-07-07 at 08:15 +0800, Shawn Guo wrote: >>> On Thu, Jun 30, 2011 at 04:06:33PM +0800, Shawn Guo wrote: >>>> In general, the mxs-dma users get separate irq for each channel, >>>> but gpmi is special one which has only one irq shared by all gpmi >>>> channels. It causes mxs_dma channel allocation function fail for >>>> all other gpmi channels except the first one calling into the >>>> function. >>>> >>>> The patch gets request_irq call skipped for NO_IRQ case, and leaves >>>> this gpmi specific quirk to gpmi driver to sort out. It will fix >>>> above problem if gpmi driver sets chan_irq as gpmi irq for only one >>>> channel and NO_IRQ for all the rest channels. >>>> >>>> Signed-off-by: Shawn Guo >>>> Cc: Vinod Koul >>>> --- >>> Hi Vinod, >>> >>> Can you please take this patch? >>> >>> Regards, >>> Shawn >> Looks okay to me. Have queued it up and should show up in my tree late= st by early next week. >> I am on road, hence the delay... >> > No problem. Thanks, Vinod. > thanks. I will submit the next GPMI version which will based this patch. Best Regards Huang Shijie