Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2465310rda; Wed, 25 Oct 2023 03:42:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfW/GOHbXe1LPJJn76DHq2PDKYw3A9M1yLVg8pYcCJNys+Ud91FU/sTX7aQqLHBI9ETc7D X-Received: by 2002:a05:6808:8c9:b0:3ab:84f0:b49d with SMTP id k9-20020a05680808c900b003ab84f0b49dmr16271316oij.3.1698230553099; Wed, 25 Oct 2023 03:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698230553; cv=none; d=google.com; s=arc-20160816; b=H0zMwOx8EnNG/VTP+uDhcD4y10exoT9nfhD5mHQTgQ0DjX1mEKpSUxv6dsCWVtaU5m i5Jhkxl4aEF1V/A8nWxPGV/KPTMrTOA20lz+zMHMTB0Cl7sKIXkL8ioBVsFOU3q9Jon8 fxLePe1ZetUopXaxYwZBgJoCFzXWK01N6lq5B1ddk5wLTHxHh7WXo/AD8eDC60kvXvfA esqLX2/5rZuLszGoI0usUUvNvljuOWo6uKpVkpkNZOWsEC2Lz24fIQ5iQyxPjzzrklFU q4rqaH9oJtIACkUUdY5jCtank9NSSP460nw80sG0PNLajCEdS3o2hlXaXrU0kOkuWY0Z XkSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uqLHQAQrHM/M2kTrKhBh9HGRbsUA7pR4vaPa6cf8SFI=; fh=wX0rtOostaiwpIQISSiO0M1M/aWsYpcL170ric70EuU=; b=QOli550cISIYnMtNWFlkE96/qmO/NfmlqUjuas8jODmY3y4Xs/9XmCMYfHSVv+e+6h 8pcjnNw8g5uWgNJmhCQGN62Wb31x0C7kzd8e17RPbK1q+uSgetHlCOJukZo476xSGpbA 1zlEa3WfOiHfYJgCLAvFdMnTHKA+up4EFXH5+L15YLTU3rmLRRld5cg5Hm3XLeqTyUeJ JeT5/KR3cbrs5uNy2gThqgho62gj/YCz4vyWph0zemvRB6P9UYY1gBsiqYcjtF5ClM1r 3T22XeegtWY5FUumR+YxA6eEvBPlV4wGurtFycgs6X/vMBq3Y18hqX7qcdy/Vl9mZJK2 VSCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nujG/Npm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w83-20020a25df56000000b00d801af7c4a8si11513303ybg.385.2023.10.25.03.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 03:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nujG/Npm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9E479807C573; Wed, 25 Oct 2023 03:42:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234878AbjJYKmO (ORCPT + 99 others); Wed, 25 Oct 2023 06:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234962AbjJYKlu (ORCPT ); Wed, 25 Oct 2023 06:41:50 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EA0C2132 for ; Wed, 25 Oct 2023 03:41:06 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-32daeed7771so3627143f8f.3 for ; Wed, 25 Oct 2023 03:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698230464; x=1698835264; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uqLHQAQrHM/M2kTrKhBh9HGRbsUA7pR4vaPa6cf8SFI=; b=nujG/Npmy9RCh3WBxRUfIOxpj8VHpT+UpKjx3Z5dwV49d+tOsBoKlFWHQkai7jIlZ9 Mc5LA5OvTBEtZiiSXgrxeS3OtsmZrLbUf9ru+ULOWxforehaVHuoJame+TrvLtBTCLj6 QA0aQYwlI2Q9PfVIWsW3QmA0BvtdTp2beMKpMIKfXxMJIvdPWh9GBvrWRpjXlMRa1w4h YM0TDzBsvyXxK/bILqnwwyPd+V1nKfjJRV4atTX5hUg4qBydzlQnADifl9Y4Yt81Kiaz ym1fWfhmSs9Tpx+Z7VpzZ9PJVUZKCS2voY+iEZfCaiQXVCUbXeIhbylp78IHidZRFH77 MF5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698230464; x=1698835264; 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:message-id:reply-to; bh=uqLHQAQrHM/M2kTrKhBh9HGRbsUA7pR4vaPa6cf8SFI=; b=Vh+FjVfgLRYvC1mWhiP2EIC/43baHp0APjN8kwDh/5+7acfPu1bI7kk4a7IsgkQK6D btIFLLnRkdghVITdTGv6bP2kWrbEuy1dqB2wifmfvh53A+C6s+tV16ns2dni9CAWStbZ P93GLRyCR7mlK+LrtblFsqux0HAmSw2JEfOZPf9R7P5QoXYBWrGakVfIsYbpZVDYJi8H dKFhSJ8pMX/I4LuAdo2MWdDOZqxBGsfRKPN713uYMhqAb/ETBK7WCr0rb+tWKAjMVjRc b6iVWqERpM11JeAbOy6xS1XHpa+ft+6JzBgThARsy43EI0pDXl4s3R2nML6ge/tJIr77 diiA== X-Gm-Message-State: AOJu0Ywpmbu/nFf//cmnjwLVp4/pp4RizA9RInQbAlLO6jUoa49OMw1b PYsdxljMnN/w4kuXINPuQHXfLQ== X-Received: by 2002:adf:fc09:0:b0:323:10b8:543e with SMTP id i9-20020adffc09000000b0032310b8543emr10450680wrr.49.1698230464478; Wed, 25 Oct 2023 03:41:04 -0700 (PDT) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id f7-20020adff587000000b0031fb91f23e9sm11788220wro.43.2023.10.25.03.41.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Oct 2023 03:41:04 -0700 (PDT) Message-ID: <532572c1-c4ed-4b46-8d30-32698bcd930f@linaro.org> Date: Wed, 25 Oct 2023 11:41:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] media: qcom: camss: Convert to per-VFE pointer for power-domain linkages Content-Language: en-US To: Konrad Dybcio , hverkuil-cisco@xs4all.nl, laurent.pinchart@ideasonboard.com, rfoss@kernel.org, todor.too@gmail.com, agross@kernel.org, andersson@kernel.org, mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231024224255.754779-1-bryan.odonoghue@linaro.org> <20231024224255.754779-2-bryan.odonoghue@linaro.org> <75c4a105-b925-4d6a-8c42-38f3ab32a7ca@linaro.org> From: Bryan O'Donoghue In-Reply-To: <75c4a105-b925-4d6a-8c42-38f3ab32a7ca@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 03:42:29 -0700 (PDT) On 25/10/2023 10:16, Konrad Dybcio wrote: >> @@ -653,11 +653,11 @@ static int vfe_pm_domain_on(struct vfe_device *vfe) >>       if (id >= camss->res->vfe_num) >>           return 0; >> -    camss->genpd_link[id] = device_link_add(camss->dev, >> camss->genpd[id], >> -                        DL_FLAG_STATELESS | >> -                        DL_FLAG_PM_RUNTIME | >> -                        DL_FLAG_RPM_ACTIVE); > Good opportunity to inilne vfe->id and get rid of a local var! Yeah no objection to that, this is a progressive patchset so the index goes away in 1 or 2 patches later in the series anyway. --- bod