Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2786701pxb; Fri, 5 Nov 2021 04:48:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiaXIHo0JKZj19AXyFDRDneXDFTjUY5rEfp+manhM5ZZOzoaN4GPThZ4W5TNvO4PopTeXN X-Received: by 2002:a05:6e02:1c21:: with SMTP id m1mr34679469ilh.90.1636112898416; Fri, 05 Nov 2021 04:48:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636112898; cv=none; d=google.com; s=arc-20160816; b=nf9tbZHuEkkuoUFbIOZCcow6A4I+isdcPQRBezUNPDeopOrRBxQx6NLPgUE8nFFkmC nxf6FFfI6ECJnwVr22EgTD/GXnew75vcwKNR+l9CZOCwfWNg6b1uqdnpRbO2hD+3FmrY RNKzuCLcXKzgLJLoMnGSw7o5qDA3LVRV2D8OlioJjygQ7I9CE3xylVuG321xQRWbtJ5r xhJC5rtAzerpoyGNfN5SdYeupSHouzSTNuIhyCv4gGqenCE6N4XyMObKhPj7v2RnGseG CJjxJMOi9Kx4xpJGby5a3AQpWOfQuWJ0VhdT1uJST9AppWIfI+pVyw8BLwLs5CANTUL/ 19Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=sF4AlkKNrnkTpoFv9qHkxJJO2zhBQP+86GjIGiEPeH0=; b=lZQvjo5/1aPjokUTwjh47upaHiHgD4yTE2RSKe3L7YhxaqiZA17qYQmDmL2kfx5Oy4 MIsS4yQ2LMx5xB4DGvtAr/4cQ7CP53jryqo4NH4EWKC2J3bzpvpp5scX15esRVyaFsFb glsNWUmt5n1CMJLWKYGEkGl2he9HFc1JY5hmvG89LkQudsKSbvyhE+rEzuK4FaZzLurQ MjPFGF/UX381TTMugcDUas6pQYEAfV7VUJaySlgiVhumkDj3+RWUCqLRCn/l2J7jDSee 7EhaosdJh8SgOG0jb0RLmkrGikYrsyqK+nkRxUz34+oQbW2eHHMKfoeqUxAUimgydGKY tOIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k21si1638032ioc.23.2021.11.05.04.48.04; Fri, 05 Nov 2021 04:48:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232467AbhKEJRr (ORCPT + 99 others); Fri, 5 Nov 2021 05:17:47 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:38747 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhKEJRq (ORCPT ); Fri, 5 Nov 2021 05:17:46 -0400 Received: (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id C17DA20000A; Fri, 5 Nov 2021 09:15:03 +0000 (UTC) Date: Fri, 5 Nov 2021 10:15:55 +0100 From: Jacopo Mondi To: Eugen Hristev Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, robh+dt@kernel.org, nicolas.ferre@microchip.com Subject: Re: [PATCH 07/21] media: atmel: atmel-sama7g5-isc: fix ispck leftover Message-ID: <20211105091555.evrbyrt3lsvy7fpj@uno.localdomain> References: <20211022075247.518880-1-eugen.hristev@microchip.com> <20211022075247.518880-8-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211022075247.518880-8-eugen.hristev@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eugen, On Fri, Oct 22, 2021 at 10:52:33AM +0300, Eugen Hristev wrote: > The ispck is not used for sama7g5 variant of the ISC. > Calls to ispck have to be removed also from module insert/removal. > > Fixes: d7f26849ed7c ("media: atmel: fix the ispck initialization") > Signed-off-by: Eugen Hristev Reviewed-by: Jacopo Mondi Thanks j > --- > drivers/media/platform/atmel/atmel-sama7g5-isc.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/drivers/media/platform/atmel/atmel-sama7g5-isc.c b/drivers/media/platform/atmel/atmel-sama7g5-isc.c > index 9c05acafd072..6a5d3f7ce75e 100644 > --- a/drivers/media/platform/atmel/atmel-sama7g5-isc.c > +++ b/drivers/media/platform/atmel/atmel-sama7g5-isc.c > @@ -555,7 +555,6 @@ static int microchip_xisc_remove(struct platform_device *pdev) > > v4l2_device_unregister(&isc->v4l2_dev); > > - clk_disable_unprepare(isc->ispck); > clk_disable_unprepare(isc->hclock); > > isc_clk_cleanup(isc); > @@ -567,7 +566,6 @@ static int __maybe_unused xisc_runtime_suspend(struct device *dev) > { > struct isc_device *isc = dev_get_drvdata(dev); > > - clk_disable_unprepare(isc->ispck); > clk_disable_unprepare(isc->hclock); > > return 0; > @@ -582,10 +580,6 @@ static int __maybe_unused xisc_runtime_resume(struct device *dev) > if (ret) > return ret; > > - ret = clk_prepare_enable(isc->ispck); > - if (ret) > - clk_disable_unprepare(isc->hclock); > - > return ret; > } > > -- > 2.25.1 >