Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1570169lqs; Sat, 15 Jun 2024 15:32:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWn9IlISAB+awmLczkeJPlAKJq70hN8La0DuZGk6HanrIwAv4EnKwI2OzzKU0yb3sPQAe8EF4RgwoLX9BsS6ARrz4UkTG7KAPrVWF9qpw== X-Google-Smtp-Source: AGHT+IGaX2nkDMLB0ZDXQeJzmFAZcYLaCx6d/DhlY2zIeSI5sQlcXUkobJL64YiDk7FrbtS3CCg+ X-Received: by 2002:a17:903:1ce:b0:1f7:3e75:20c3 with SMTP id d9443c01a7336-1f862900697mr67774285ad.42.1718490738775; Sat, 15 Jun 2024 15:32:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718490738; cv=pass; d=google.com; s=arc-20160816; b=kFCbg2UnErpPZKhwXlY8lvBgiF4ugKOUtAhDU+/ZNllfi75rMLEW9sru60ASTRSLIr mNMxwDys28ehQg9XwJyOjINleVDhbIBJWtuRqS3DCWwDk9asebbitsbM3C1ycrfB7PIn WESaNTKA63MJcpGg1hf7zFOh/oEBCGJGrdAry7L8iPRwlks8gwkeE+vcY6SSVtg6+FES IxOtq9O9XcWapiR7vkYNmHq8zVHC3YnLtBRBfDFI6B/qCBw0c/MOVWmgyXHf/Cp5YLme VXycJnkPx+hdvlyfEqTMwGu7cRZoMB06ZrJVFmcnROIydVfA7JfcTDM0mVCo5gFe/INk rZDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=rCxwfwXoZgG5sd2HFDorH+21dz9Ykg7xHN6ieB9M7H0=; fh=3dMDk3is8CPiSD12EMiwvn3Uu8izGjpiwiA6f6F2214=; b=N3J0aDFQKFUk5iHQ6e9/0eSQlQOpRZly6twV8k08MJsAp1Vy13G4NA/y6/ma8dgLt1 CZFQ/zNOlO8PjJQu5u5qiXTL6UJqIKCcERBUXxDRSKpbEijG+BuIKomNbuLAaxD3Z1Rl uVjNntxioTg9mSJyDeIEmIkF0zJf+yr2INvpkfI68op+RNW3bPM1NHO1AjG2J+NehOfe nvWtW4ZCki3eY3/cxY3gcxU61snEUUzHtf6I9FO43NzPmp0NbaLd26QQNIwCKwETapJN n4Md1PwtOz4qFzyvxcTUItwhcCl/kSIKOeXo6Wb2uy98ZIHoq+xl8hwgyK7n5ud8q3Ks kyag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OuDwpIHp; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-216031-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216031-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f855efeaeesi61696885ad.465.2024.06.15.15.32.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 15:32:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216031-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OuDwpIHp; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-216031-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216031-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 44CCE2834B0 for ; Sat, 15 Jun 2024 22:32:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 084576A33B; Sat, 15 Jun 2024 22:32:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="OuDwpIHp" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5ADC38DC7; Sat, 15 Jun 2024 22:32:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718490728; cv=none; b=Vu9d1Hahs/hHCgQoR3pk5axiFjZvM4ADpmH2GZXO+7+vSNxNeoWiQj2V81HsBcZaIGB7jXGAP5c8Rbk+E6UqNKVIpUG+B7OtkRirgct14SSRaJAVoyIgx1zjcAswfUL0SfMnyssejy+I4QjC6gVX86OYeKEK8ZHWWJFMaAOwT/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718490728; c=relaxed/simple; bh=7XrSzKmwP52JgdaTxNDC5ItcCdg1ekFDgIZGwIYnShs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=U3vGRN37MnyYdFCzj6dSBKXIebowdwaENp9fCWsTqWr+LbWyycCKSY8n0um1Mxm20F/ONlvfKEg8EhfI4xSVFd666nwlEFuc/8+2L5lAZUxreOYE1BpbN13CnBSZ/SiBrfMtGxgFKU5dhM9bo7A2ZvoSHxXZE3C4spFLPUAgBJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=OuDwpIHp; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718490725; bh=7XrSzKmwP52JgdaTxNDC5ItcCdg1ekFDgIZGwIYnShs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OuDwpIHpTYC6TNb5JC1Zk4EkLodvsgULeNI4dFtjeJpW96MmjrEzapMLUgxB6gT97 kObTwo2x56YIi+krngtB9zMao0Qejt2JsSNI/sAuVOciq66S70BdMvejN2PaIUC+VW bLJoS6SeyweOGIcTEU0/Nygd6ycDdnFiOkgbrOH9Np3ygK6R/shxyQMOkATLQiCg4c tK7GSixfcjWp2stA6j4JjhzOVYdqeD2uPAEYMucJkZuU/xpvlOvBq/HTXaw22TXXUS xF4SNDw64xuWb8Y4svgtYAwcP3idWb3R36prYVi5u1VC9KEbEvkCOc8ItkCPWBxxam QW87WAPsLHK1w== Received: from [100.109.49.129] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 744653780575; Sat, 15 Jun 2024 22:32:03 +0000 (UTC) Message-ID: Date: Sun, 16 Jun 2024 01:32:00 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] media: rockchip: Introduce the rkvdec2 driver To: Detlev Casanova , linux-kernel@vger.kernel.org Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Greg Kroah-Hartman , Sebastian Reichel , Dragan Simic , Alexey Charkov , Cristian Ciocaltea , Diederik de Haas , Andy Yan , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev References: <20240615015734.1612108-1-detlev.casanova@collabora.com> <20240615015734.1612108-2-detlev.casanova@collabora.com> Content-Language: en-US From: Dmitry Osipenko In-Reply-To: <20240615015734.1612108-2-detlev.casanova@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/15/24 04:56, Detlev Casanova wrote: > + pm_runtime_set_autosuspend_delay(&pdev->dev, 100); > + pm_runtime_use_autosuspend(&pdev->dev); > + pm_runtime_enable(&pdev->dev); > + > + ret = clk_bulk_prepare_enable(ARRAY_SIZE(rkvdec2_clk_names), rkvdec->clocks); > + if (ret) { > + dev_err(&pdev->dev, "Could not start clocks\n"); > + return ret; > + } Remove this clk_bulk_prepare_enable(), clocks are enabled by runtime-resume.