Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBP0RtoJ024150 for ; Wed, 24 Dec 2008 19:27:55 -0500 Received: from mail03.idc.renesas.com (mail.renesas.com [202.234.163.13]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id mBP0RgR4031860 for ; Wed, 24 Dec 2008 19:27:42 -0500 Date: Thu, 25 Dec 2008 09:27:25 +0900 From: morimoto.kuninori@renesas.com In-reply-to: To: Guennadi Liakhovetski Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII References: Cc: V4L-Linux Subject: Re: [PATCH v6] Add tw9910 driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: Dear Guennadi Thank you for some comments. And I'm sorry about my stupid question. > You may choose - what's easier for you. Either you make a v7, or we keep > v6, and you make an _incremental_ (i.e., based on v6) patch to address > issues that I point out here. If you decide to make an incremental patch, > I think, I might merge it with v6, show it to you once more for > confirmation and commit that in one go. But just please choose what's > easier for you. OK. I will create v7 patch. After re-send patch, please teach me which one will be applied. v6 or v7 > i.e., you should be prepared to restart capture after a stop_capture with > the same configuration. By setting > > icd->vdev->current_norm = V4L2_STD_NTSC; > > you change driver's configuration, and by calling > > tw9910_reset(priv->client); > > you change chip's configuration (I assume). So, re-starting capture after > this might be problematic. The only thing one should do in stop_capture is > tell the sensor to stop the scan - if it supports it. Not all chips do. > With one of my drivers I switch it to snapshot mode, in which case it > stops scanning and waits for a trigger. See if your chip supports anything > similar, or just do nothing. Hmm. I was misunderstanding about it. In v1 patch, you gave me some comments about stop_capture funtion. So, I added reset method in it. OK. I think tw9910 can not stop scanning by itself. It might be possible, but I don't know how to do it. If I found it, I will send patch. OK ? In v7 patch, it will do nothing > Well, this is the query() method, it just tells your capabilities. > Currently we don't check for SOCAM_DATA_ACTIVE_* in > soc_camera_bus_param_compatible(), that's correct, but it is good to have > your driver ready for the time when we do this. With a later patch we're > going to update camera host drivers and camera device, and after that > we'll update soc_camera_bus_param_compatible(). So, it is good that you > already have it. OK. v7 patch have it. Best regards -- Kuninori Morimoto -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list