Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14FD27C for ; Wed, 21 Sep 2022 09:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663752044; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2aMfWfue1UCHey0VLGgoawQPLIUpGRvAMI5FdpJY29A=; b=CRpONGqwF/nw07xDV6CxpNA5BVs5+nHzGxdEMb08ktXAYP+uAXiIta37+VbdM/fl7gjmsH 1GCRdbNvkfz45nkq5bK4oQdRxozds9H+8ncc44f8l/kkxugzFPu7gthrJ1kq2A9RuivuYO SBbgMozNx6E/uIlbdOPnFUSlepVoLxY= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-607-98xCmmEaOAOD_nAh8HIZyw-1; Wed, 21 Sep 2022 05:20:40 -0400 X-MC-Unique: 98xCmmEaOAOD_nAh8HIZyw-1 Received: by mail-ed1-f69.google.com with SMTP id z16-20020a05640235d000b0045485e4a5e0so2892829edc.1 for ; Wed, 21 Sep 2022 02:20:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=2aMfWfue1UCHey0VLGgoawQPLIUpGRvAMI5FdpJY29A=; b=10M+6gloHwRGdpYSXgDwuXrpvGJXcP9NjEwOC/JuQuZQ8vokVV/a/VkbC/wdIIIsf0 BuAl8WKw0nmOctJB6bvB8GkNzzzRSM/7/rpPowk5J+Aucd9rPwdykt4wYGI7tFLphBny 9C76K4f0/A4ZqGjAhbj9Cll0fDOKREdYNL8nNL7lJ3VcPnpQSCWj2DPR+zZ1izlRj2ut MDnAO8pM5qT47KFVMrlzlWt4oounkeDbFcg/k6r4K+BOD+6GAZNclaGVKkM+lZjVgSRp AVucnsLfmkPsxiiXJUp0/llzYxjURysB9LlQAcbNegrGAQGXUL3vBC/hnDEXGzBrNbyY tgFg== X-Gm-Message-State: ACrzQf2n4olN0sggpnSwZuWYXwMxqpS+hwQhkfKmoQ7CE34OsqEOailB 3YlxclXe+e6FLJ1rVK8CMMXSRqqvyABTWzQPTngtn1mwfUlbssgb+mXqBPTdRgFy6Jv9JOI9+kF 8+5+o3P4ISBpJ3er2OWCefhntLA== X-Received: by 2002:a17:906:5d0b:b0:77f:bc8d:361d with SMTP id g11-20020a1709065d0b00b0077fbc8d361dmr20023919ejt.379.1663752039584; Wed, 21 Sep 2022 02:20:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7YAWUNmfq0t9x+fKIUrtlSsnVXqg3OvnY0wHQh08Ls3JfwtZT/fv56bO7I/8VL5S8apIcPZA== X-Received: by 2002:a17:906:5d0b:b0:77f:bc8d:361d with SMTP id g11-20020a1709065d0b00b0077fbc8d361dmr20023816ejt.379.1663752039293; Wed, 21 Sep 2022 02:20:39 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id l24-20020aa7c318000000b0044ee18e5f79sm1455946edq.28.2022.09.21.02.20.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Sep 2022 02:20:38 -0700 (PDT) Message-ID: <7efd58ab-9486-a547-d69f-acb6300c6146@redhat.com> Date: Wed, 21 Sep 2022 11:20:38 +0200 Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH 00/17] media: atomisp: further cleanups / unwanted code removal To: Andy Shevchenko Cc: Mauro Carvalho Chehab , Sakari Ailus , Tsuchiya Yuto , Andy Shevchenko , Yury Luneff , Nable , andrey.i.trufanov@gmail.com, Fabio Aiuto , linux-media@vger.kernel.org, linux-staging@lists.linux.dev References: <20220911171653.568932-1-hdegoede@redhat.com> From: Hans de Goede In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 9/12/22 13:44, Andy Shevchenko wrote: > On Sun, Sep 11, 2022 at 07:16:36PM +0200, Hans de Goede wrote: >> Hi All, >> >> Here is another atomisp patch-series with further cleanups / unwanted code >> removal. Note this mostly cleaning up things which I hit while I'm still >> working towards converting the driver to videobuf2. >> >> The main goal of this series was to make the atomisp locking more like >> that of other v4l2 drivers, which is acomplished in the >> "media: atomisp: Use video_dev.lock for ioctl locking" patch. > > Reviewed-by: Andy Shevchenko > for non-commented/non-authored-by-me patches. Thank you for all the reviews. I'm currently preparing a pull-req for atomisp for Mauro. You can find this series here now: https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp For the indentation fixes you asked about for 16/17, see: https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/commit/?h=media-atomisp&id=f9c9e7db01caaa1c1fa5a18d1505676c1bdcaeb0 Note I'm going to do a test-build + some quick local tests for this and then I'll put a signed-tag on it and send out a pull-req. So if you are still going to give your Reviewed-by for patch 1 + 16 it will likely be too late for me to process the tags, sorry. Regards, Hans > >> Andy Shevchenko (1): >> media: atomisp_gmin_platform: Unexport and split camera_sensor_csi() >> >> Hans de Goede (16): >> media: atomisp: Use a normal mutex for the main lock >> media: atomisp: Remove unused lock member from struct >> atomisp_sub_device >> media: atomisp: Fix locking around asd->streaming read/write >> media: atomisp: Remove asd == NULL checks from ioctl handling >> media: atomisp: Add atomisp_pipe_check() helper >> media: atomisp: Remove watchdog timer >> media: atomisp: Move atomisp_streaming_count() check into >> __atomisp_css_recover() >> media: atomisp: Rework asd->streaming state update in >> __atomisp_streamoff() >> media: atomisp: Drop streamoff_mutex >> media: atomisp: Use video_dev.lock for ioctl locking >> media: atomisp: Remove a couple of not useful function wrappers >> media: atomisp: Drop unnecessary first_streamoff check >> media: atomisp: Make atomisp_set_raw_buffer_bitmap() static >> media: atomisp: Remove unused atomisp_css_get_dis_statistics() >> media: atomisp: Remove const/fixed camera_caps >> media: atomisp: Remove atomisp_source_pad_to_stream_id() >> >> .../include/linux/atomisp_gmin_platform.h | 2 - >> .../atomisp/include/linux/atomisp_platform.h | 18 - >> .../staging/media/atomisp/pci/atomisp_cmd.c | 581 ++---------------- >> .../staging/media/atomisp/pci/atomisp_cmd.h | 9 +- >> .../media/atomisp/pci/atomisp_compat.h | 4 - >> .../media/atomisp/pci/atomisp_compat_css20.c | 74 +-- >> .../staging/media/atomisp/pci/atomisp_fops.c | 87 +-- >> .../media/atomisp/pci/atomisp_gmin_platform.c | 86 ++- >> .../media/atomisp/pci/atomisp_internal.h | 39 +- >> .../staging/media/atomisp/pci/atomisp_ioctl.c | 567 ++++------------- >> .../staging/media/atomisp/pci/atomisp_ioctl.h | 10 +- >> .../media/atomisp/pci/atomisp_subdev.c | 34 +- >> .../media/atomisp/pci/atomisp_subdev.h | 24 +- >> .../staging/media/atomisp/pci/atomisp_v4l2.c | 65 +- >> 14 files changed, 267 insertions(+), 1333 deletions(-) >> >> -- >> 2.37.3 >> >