Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752066AbcDRHY1 (ORCPT ); Mon, 18 Apr 2016 03:24:27 -0400 Received: from lb3-smtp-cloud2.xs4all.net ([194.109.24.29]:38645 "EHLO lb3-smtp-cloud2.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751382AbcDRHY0 (ORCPT ); Mon, 18 Apr 2016 03:24:26 -0400 Subject: Re: [PATCH 1/2] [media] atmel-isc: add the Image Sensor Controller code To: Songjun Wu , g.liakhovetski@gmx.de, nicolas.ferre@atmel.com References: <1460533460-32336-1-git-send-email-songjun.wu@atmel.com> <1460533460-32336-2-git-send-email-songjun.wu@atmel.com> Cc: linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab , Sudip Mukherjee , Mikhail Ulyanov , Fabien Dessenne , Peter Griffin , Benoit Parrot , Laurent Pinchart , Gerd Hoffmann , =?UTF-8?Q?Richard_R=c3=b6jfors?= , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org From: Hans Verkuil Message-ID: <57148B9E.2000609@xs4all.nl> Date: Mon, 18 Apr 2016 09:24:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <1460533460-32336-2-git-send-email-songjun.wu@atmel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 34 On 04/13/2016 09:44 AM, Songjun Wu wrote: > Add driver for the Image Sensor Controller. It manages > incoming data from a parallel based CMOS/CCD sensor. > It has an internal image processor, also integrates a > triple channel direct memory access controller master > interface. > > Signed-off-by: Songjun Wu Hi Songjun, Before this driver can be accepted it has to pass the v4l2-compliance test. The v4l2-compliance utility is here: git://linuxtv.org/v4l-utils.git Compile the utility straight from this repository so you're up to date. First fix any failures you get when running 'v4l2-compliance', then do the same when running 'v4l2-compliance -s' (now it is streaming as well) and finally when running 'v4l2-compliance -f' (streaming and testing all available formats). I would like to see the output of 'v4l2-compliance -f' as part of the cover letter of the next patch series. Looking at the code I see that it will definitely fail a few tests :-) Certainly the VIDIOC_CREATE_BUFS support in the queue_setup function is missing. Read the comments for queue_setup in videobuf2-core.h for more information. Regards, Hans