Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2863187ybi; Sun, 2 Jun 2019 02:59:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwo/C6NiPap42eccNQTHIGrvIuYM/eUBKQ24uG8GKascmxFHE03qbYOVA+pbKSI7OckrVGz X-Received: by 2002:a65:6559:: with SMTP id a25mr20832813pgw.33.1559469587236; Sun, 02 Jun 2019 02:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559469587; cv=none; d=google.com; s=arc-20160816; b=IVa5+RwHhHiqjot9Z6+igxozYUB5LIp8f+4FzGd6Gy21vKeMOpQ1/0p2qk2LHEb5jJ wxqNIvFBjbEunj5LYetHfz3DflDiHslTON+HFQo2S6j+fJVKRU6ctRrwCmeCaRnrypfv PibjaDnV7KnQgQi8UgXQ9ChSW0duleU/E5hAjAnHR5S148FO8eYzNfKGab9Nji4OdTeb +wsSxWlkWiFFM/22+S38mNg31n0PershnUXqEhvAhmVy6qWAT3W+P0oxuNWRwEe2ju83 Zlk7nEuoddjZEYP4jBv6pqMGlJBPP6tWYnxQSyPFlF4t/Zy5CIw02I7DoIqoX/jf9Phw rmfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KXYdQUKOB+u8P8O0FLkc8ya3EQeBwf41WKBLmxzpcZ8=; b=Jq2mF4XCKAdrpT3DtMuYK40A5gyAT4H5rr5c1igMCBcegpeHDxl293CQw9j7wJtB57 0nuczXOIKQiCSSXUSBxgZ8uMcgO+AhwWnoiJUvLvWczAxsDYOHduXwi2zfb2x5T60qPR ICU9tSv4Pdz1Ex6aAzfLl8IVzcG1dpP252LjqaCybOpJUM0Q6b7VhzYMj7g63TXvTUkZ qd9nzY6nO0jREJQ/weZIupCfDFHLLHKJghK0YVrdvy7/vUYRHCIBHStT4s2jhiL2dFkl fNMoC0jzn4vGubmUmrxuw6TMa2FRC4/+QaEkCxvavXuZeWnrOKCVaNLdqzpYSMMwkYTO 6qNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LdCHiT4i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c123si15433273pfg.35.2019.06.02.02.59.31; Sun, 02 Jun 2019 02:59:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LdCHiT4i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbfFBJ62 (ORCPT + 99 others); Sun, 2 Jun 2019 05:58:28 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:46969 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbfFBJ62 (ORCPT ); Sun, 2 Jun 2019 05:58:28 -0400 Received: by mail-lf1-f67.google.com with SMTP id l26so11250253lfh.13; Sun, 02 Jun 2019 02:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KXYdQUKOB+u8P8O0FLkc8ya3EQeBwf41WKBLmxzpcZ8=; b=LdCHiT4iF98VJLu5ZMvzSz38dc/ItvhnlFx31mlMK2Vf03KnfWwFAHurWxS9nDTfXH YcC1IeRkfRRjbbSQrK/aWXZiiEFk7LGQaF/FJaljcx3w/Qqlu9QupnVXYK7CRbhS5PpT hdUqNvBFd2jxQROycjwwYDbeM1IMtpJXpKG4RTdyqLHwYW8Xh3ke4mHWBDf+c4Yn3QfU mUB3PStp3TNNvFU6BbeYpD1qZdcqUoEtImPDIyjS2DCB0fqtjgiWB0jXM8saUF+17tLC krLRcqcdtWrvSL65EjEt2exgMdB47g0GiUPV+9MkQ8sHpCna+vxtxtScZGvkpB65VfFN figw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KXYdQUKOB+u8P8O0FLkc8ya3EQeBwf41WKBLmxzpcZ8=; b=lC5WGA9xM89xfPd4e9BBAzlaFcuPZQxbMButmR338z+uyr7LCB5oAkeVhhmkOeYpGg 1VYNGvGUKUn5A1fW3+Qhr8BDszMfu9ugNwbL4jBtfRTJZ2VdpXV/G5k1wl4/sWbhrZjg QNUOV3CBWXLCBn/9CadIEcMhga+IqR1eVHjZjNrhV2lMBspK/7ZZIwVBduQ1S5Clib9t ySXBuO3eHFy0jib1OkNrfBgh5qdGEFdXhMgKcmJ7AvWOX6gxYssQ9PHqlhRr8/HtL7cJ nA96Zuv3cvZIqt6u/x3dc9sdYk2tHO4r2wF0Xofjk3+PCfpESfL6npqAGrgPxozPtAjL NiIA== X-Gm-Message-State: APjAAAWuAAmxIiTZaFj40xjule8uLbUY5OycAkSSjjOwDYV2OV70ODnF 88XB+mG7WSw+e/ldExm9zym8xBJQGK4= X-Received: by 2002:a19:6e41:: with SMTP id q1mr3115326lfk.20.1559469506305; Sun, 02 Jun 2019 02:58:26 -0700 (PDT) Received: from z50.localnet (109241207190.gdansk.vectranet.pl. [109.241.207.190]) by smtp.gmail.com with ESMTPSA id r11sm1660323ljh.90.2019.06.02.02.58.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jun 2019 02:58:25 -0700 (PDT) From: Janusz Krzysztofik To: Sakari Ailus Cc: Sakari Ailus , Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: Re: [RFC PATCH 4/5] media: ov6650: Fix frame scaling not reset on crop Date: Sun, 02 Jun 2019 11:58:23 +0200 Message-ID: <11387277.ecJxfdHps5@z50> In-Reply-To: <20190601223754.65soglqayxrblgzl@mara.localdomain> References: <20190526204758.1904-1-jmkrzyszt@gmail.com> <1933971.yMpNBnsSgY@z50> <20190601223754.65soglqayxrblgzl@mara.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sakari, On Sunday, June 2, 2019 12:37:55 AM CEST Sakari Ailus wrote: > > ... I realised that the subtle effect of "media: > ov6650: Register with asynchronous subdevice framework" is that the driver > is now responsible for serialising the access to its own data structures > now. Indeed, I must have been not thinking much while preparing it, only following patterns from other implementations blindly, sorry. > And it doesn't do that. Could you submit a fix, please? It'd be good to > get that to 5.2 through the fixes branch. How about dropping that V4L2_SUBDEV_FL_HAS_DEVNODE flag for now? I think that will be the most safe approach for a quick fix. I'd then re-add it together with proper locking in a separate patch later. What do yo think? Thanks, Janusz