Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753388AbbH3LPI (ORCPT ); Sun, 30 Aug 2015 07:15:08 -0400 Received: from mout.gmx.net ([212.227.17.22]:54473 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753261AbbH3LPG (ORCPT ); Sun, 30 Aug 2015 07:15:06 -0400 Date: Sun, 30 Aug 2015 13:14:43 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: Robert Jarzmik cc: Mauro Carvalho Chehab , Jiri Kosina , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Robert Jarzmik Subject: Re: [PATCH v3 3/4] media: pxa_camera: trivial move of dma irq functions In-Reply-To: <1438198744-6150-4-git-send-email-robert.jarzmik@free.fr> Message-ID: References: <1438198744-6150-1-git-send-email-robert.jarzmik@free.fr> <1438198744-6150-4-git-send-email-robert.jarzmik@free.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Provags-ID: V03:K0:dyPuY91MBxtldRdktO936+IatwzqqcpegREuCNbpXUGNi2DgIrv xPwq3+61UapGNt9aKQYjJRfg/8aJZ64xhVpo34bN2Diwx0Xt5SWjkL6U3PANudWGFPV8LJX MzXJWLWKM6Smu4zdmQouSWjNPKcC3sQw9t4+1lLZIzaPVIH3FtAlpkngl0wjS5ZMkCfbmCs YrOzeNUxoy0xrKssHKi9w== X-UI-Out-Filterresults: notjunk:1;V01:K0:GsK7W966nH4=:hpiHvas9Q4qTUm1LM318th vwzidXNQ36IgrZS0bD7wjH9SfJL1I2BCXjsdAc1pep4i/aKnBIryFH8UNRyuc66NZAUWKCkjy TJqNOtGQdlEaKKM9UfvD3VfOcGdpl6TGh9hZWbNFoyMsfeUN3e4+RUHPpFy4v8GnYwZHvz8bW Jy22BgmsRHm9WRAhC1iWddPoHbx3t3pQZDaIa9SZ/u0TjAbK39r6fa7UKnvc1I3ERoVbUIV/W aHEdSA5TRzuXvf+SYpjj9pCaLIiBhez3iMlkNfzdzRnpmH3QcEENszWoC+FGy7VzDLxGk2cjv 67Tgr5ICVvGxxXc3I0VszHwNlgWPe7ufDojmZnW9wCRV52+o3k+aYuUFCwBw1GOhEfW17QphX oaD6SauroV/24S4a2nKaInKzV9AgR3jI2unNOtvDe5KLlYLl9Szlz+YsYYDPiJ7G4HMIt2NtJ AYUv0Q98p0WNI9fVpImeCriL9FJsrLLgGODw3wvWlLpkjXCT2QBwW+l285ZHa3E6eIkDcMztm zLYTo/JjxsS9OIrDQAX7kwNDB9N/ekenQH1qe38eI0y/X0ExG/6bDbkYvNax5eimLs7s2NEFj HdhwQJpJN+aQQSvaMy5wtvHN7sFxitCth1C3hTg8jhyZLB0IZVMBmMuI4SyahR9uWQSEgX9Zl GKKStMQlaIOV2fH0OA4J0hvCdZ5R04O30uXO1wtQW4bMdSRusGDbrEK8ZaHEf3qvmZ7gGX/ka ylqDeqPtQfNiM1CzXP+R2kBPAuUxCnCMJVyXCA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 40 On Wed, 29 Jul 2015, Robert Jarzmik wrote: > From: Robert Jarzmik > > This moves the dma irq handling functions up in the source file, so that > they are available before DMA preparation functions. It prepares the > conversion to DMA engine, where the descriptors are populated with these > functions as callbacks. > > Signed-off-by: Robert Jarzmik > --- > Since v1: fixed prototypes change > --- > drivers/media/platform/soc_camera/pxa_camera.c | 42 +++++++++++++++----------- > 1 file changed, 24 insertions(+), 18 deletions(-) > > diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_camera/pxa_camera.c > index 39c7e7519b3c..cdfb93aaee43 100644 > --- a/drivers/media/platform/soc_camera/pxa_camera.c > +++ b/drivers/media/platform/soc_camera/pxa_camera.c > @@ -313,6 +313,30 @@ static int calculate_dma_sglen(struct scatterlist *sglist, int sglen, [snip] > + pxa_camera_dma_irq(pcdev, DMA_Y); [snip] > - pxa_camera_dma_irq(channel, pcdev, DMA_Y); This still seems to break compilation to me. Could you compile-test after each your patch, please? Thanks Guennadi -- 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/