Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1859945ybb; Fri, 29 Mar 2019 12:52:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzb4xZ50UvLIwoQa7PVDClBq/jGPf0Y50oqA2mvvrYY4JD5a4+AR2wNKP7+oA0anZjxmJbo X-Received: by 2002:a17:902:3204:: with SMTP id y4mr9377791plb.80.1553889146128; Fri, 29 Mar 2019 12:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553889146; cv=none; d=google.com; s=arc-20160816; b=CvGNd3C8yJbR7/YSYkcNX0gAdY2xuPcC3fbxyYDDV/dbPnK9nSBfPKpgYHtg+VxI2h TL12wEJpoXNrtmJMfE3P8To/u2XLjmvTW2r9Q7EGmTQdWBZzL+osstxcKmskTljn/W5W gnVu2qzhjOjASPbm8hduGz7voV4A5Mob+UJvbyniT7v0pJ6vkC2uV/P5CByZ193mGN1Y w/b9tVxls43rezK4Ho6lU8+Q1Aeadadtxy2UPkXQ6rLuG3AsXYVDYRrIO+BJoZiHYUgd wYgQCHMy9raEhvmR9rv3LmfrJi7kSZKYmERt/Vv5h3I1aqLlgTPE9MGeSaTFrw7bpz4s zSeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TAhWvD0srytOvg8IYuho4duta9m2G9D1MhKM/k92Xvo=; b=r07vGTWax+xKo6AWz/vIYhTvmZvCMoRzdXSi5WlPKsNUBdswvD/Lv2HR/EpN75D0Wj JjTuwTx1wSnawI9HOmMMlP/NmM3GXwgVAQFPtMbLWBKWqKlZQk+EfrOadiUbFIj7Jv2H fYiST6uiLhlYksqTzbPs4ESjnuG7J/ufZwFJ6dzb3Q4CGUXNHi5lanxQq90hrjynRmxH Lio6VCzJqRBZY8bc/JQxek60/WWCZprkwS30/hfB2hTjwB55AgnW2EeFYqvCEbI1AgWS iD8iqgg74/AZGwNT62gs+kLxgO6UBaLnuNwCQ5XtWt3rdsFtNWxamXBVzrQx2B8xsXGE LFsA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p87si2502538pfa.48.2019.03.29.12.52.10; Fri, 29 Mar 2019 12:52:26 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730062AbfC2Tv2 (ORCPT + 99 others); Fri, 29 Mar 2019 15:51:28 -0400 Received: from mga03.intel.com ([134.134.136.65]:20403 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729983AbfC2Tv1 (ORCPT ); Fri, 29 Mar 2019 15:51:27 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2019 12:51:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,285,1549958400"; d="scan'208";a="131361778" Received: from lparisol-mobl1.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.252.46.120]) by orsmga006.jf.intel.com with ESMTP; 29 Mar 2019 12:51:25 -0700 Received: by kekkonen.fi.intel.com (Postfix, from userid 1000) id 7336621E50; Fri, 29 Mar 2019 21:51:21 +0200 (EET) Date: Fri, 29 Mar 2019 21:51:21 +0200 From: Sakari Ailus To: Janusz Krzysztofik Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper Message-ID: <20190329195120.zc7u3aju4e355tzm@kekkonen.localdomain> References: <20190325003501.14687-1-jmkrzyszt@gmail.com> <20190325003501.14687-2-jmkrzyszt@gmail.com> <20190329183923.t7sxzqf5qa4z3yfs@kekkonen.localdomain> <43180252.PEphI5Jep4@z50> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43180252.PEphI5Jep4@z50> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 29, 2019 at 08:48:19PM +0100, Janusz Krzysztofik wrote: > Hi Sakari, > > On Friday, March 29, 2019 7:39:24 PM CET Sakari Ailus wrote: > > Hi Janus, > > > > Thanks for the patchset. > > > > On Mon, Mar 25, 2019 at 01:35:00AM +0100, Janusz Krzysztofik wrote: > > > ... > > > > > > done: > > > ov6650_s_power(&priv->subdev, 0); > > > + if (ret) { > > > +eclkput: > > > + v4l2_clk_put(priv->clk); > > > > Could you rework the error handling, please? Labels should be outside > > conditionals. > > OK. > > > See e.g. the smiapp driver > > (drivers/media/i2c/smiapp/smiapp-core.c). I've pushed my master branch > > here: > > > > > > I'm currently syncing my linux-media remote tracking branches with > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git > Should I switch to a different repository, e.g. yours? Usually Mauro's tree is the best choice. I sometimes forget to update mine. In this case just make sure these patches apply on top of the one merged previouly if there's a dependency. -- Sakari Ailus sakari.ailus@linux.intel.com