From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from tex.lwn.net ([70.33.254.29]:49351 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752554AbaLOOOD (ORCPT ); Mon, 15 Dec 2014 09:14:03 -0500 Date: Mon, 15 Dec 2014 09:13:56 -0500 From: Jonathan Corbet To: Geert Uytterhoeven Cc: Mauro Carvalho Chehab , Linux Media Mailing List , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH/RESEND] [media] VIDEO_CAFE_CCIC should select VIDEOBUF2_DMA_SG Message-ID: <20141215091356.3f03f0d7@lwn.net> In-Reply-To: References: <1418651737-10016-1-git-send-email-geert@linux-m68k.org> <20141215090404.6d5cb86e@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: On Mon, 15 Dec 2014 15:10:38 +0100 Geert Uytterhoeven wrote: > If the driver cannot do SG, perhaps this block should be removed from > drivers/media/platform/marvell-ccic/mcam-core.h? > > #if IS_ENABLED(CONFIG_VIDEOBUF2_DMA_SG) > #define MCAM_MODE_DMA_SG 1 > #endif Other drivers using the Marvell core can do S/G, though, so that option needs to remain. Applying your patch is almost certainly the most straightforward solution at this point. Thanks, jon