Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2584671rwb; Mon, 19 Sep 2022 07:11:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6YwkKG7fA/pnDw6XFsDLck1GRLAS6K69ygE2vA/Sg56DRQP/2cjNtdXFNP/8Tdm3kA1rRp X-Received: by 2002:a50:fa99:0:b0:44e:9e71:4899 with SMTP id w25-20020a50fa99000000b0044e9e714899mr15810811edr.197.1663596686651; Mon, 19 Sep 2022 07:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663596686; cv=none; d=google.com; s=arc-20160816; b=ticY+0I6+MkjNrb/Z3+54jxp75QuM7KaGtW6YDuRtq/GeRK+Li5IdEtwW896utffxd AKAfs7ULH8JeK3pIybpJXz0PQI5lOsS3yDZRMSQi4Knngkes7jDmXX0PMEUiIOJ69qnp TKGcDW1Ha3UZ2DiganCafP4kDE9TdDszvUU8jwRDsV4RUFlq1tUhC38teL4sIddOCoYk RlfEo6WeD0MX5NTmvnkIZa1Q/bee0va2Mm101VO/PLmGnSNisPAPc3SnoR2xi/rGHljH WHgqtp5nzvexg4cUbPlmCUObcaLBz3JR6werJp1hZup3AtyulscMozEdsBrw1jHKZkBD h41w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=a4C5/4KGezwsMVev0BaIFkB1cScaJ5q9K02OJlIeCAU=; b=FCuzMLT1kQ0azMn1PzEwwZ/GEv+UxyGlXgpRX4d0Dp/lhXY4m1bsTat34MbVxDxfJp lOWrW3XgT50tQ7wBeHIOe8LMENXZFNyPO4nWsKLsTPi7hoC5OHBSQqP/sEhn5tYdlg+B 82MCtiqL8r7yQuQLv48hRdXQ3FayjdEGlUGidkXBc1En2NQBBHaeFPAQTPz/hSxgKwnA 6myUI6p2zVQsVTLw7boiTqFHQCLqc32uYIKdUdJOu444NHmOUnik9AXrbB2zVds8aInC OiDhDsYLiZV4SfCX3BvLuQdnmGdvdiNDO2+E+MiWqEw17kITCDUwb3Vdw/IRXPF8T7rA MY1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk43-20020a1709077fab00b007807e1ea26csi10373222ejc.637.2022.09.19.07.11.00; Mon, 19 Sep 2022 07:11:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbiISNKV (ORCPT + 99 others); Mon, 19 Sep 2022 09:10:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbiISNKS (ORCPT ); Mon, 19 Sep 2022 09:10:18 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4278615FE4 for ; Mon, 19 Sep 2022 06:10:17 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaGXJ-0005GM-LA; Mon, 19 Sep 2022 15:10:09 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oaGXJ-0005Qu-77; Mon, 19 Sep 2022 15:10:09 +0200 Date: Mon, 19 Sep 2022 15:10:09 +0200 From: Marco Felsch To: Laurent Pinchart Cc: Sakari Ailus , mchehab@kernel.org, akinobu.mita@gmail.com, jacopo+renesas@jmondi.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] media: mt9m111: fix device power usage Message-ID: <20220919131009.m2vdtsmftqntc2e6@pengutronix.de> References: <20220916135713.143890-1-m.felsch@pengutronix.de> <20220916135713.143890-2-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-09-19, Laurent Pinchart wrote: > On Mon, Sep 19, 2022 at 12:45:42PM +0000, Sakari Ailus wrote: > > Hi Marco, > > > > On Fri, Sep 16, 2022 at 03:57:12PM +0200, Marco Felsch wrote: > > > @@ -758,10 +751,14 @@ static int mt9m111_g_register(struct v4l2_subdev *sd, > > > if (reg->reg > 0x2ff) > > > return -EINVAL; > > > > > > + mt9m111_s_power(sd, 1); > > > > It would be nice to have this driver converted to runtime PM. Up to you. > > I second that :-) I would rather keep it this way and add 2nd patch to change. So it would be easier to backport the patch. Regards, Marco > > -- > Regards, > > Laurent Pinchart >