Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4485057rwd; Tue, 23 May 2023 08:17:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kXFuThy2SJDKYoVL4aIG8OkBB3Mbh/f7tHvWzhOZYGXmLFTpCUDsyGC7etBQ0UhIBJyy4 X-Received: by 2002:a05:6a20:1453:b0:f2:ad27:f98a with SMTP id a19-20020a056a20145300b000f2ad27f98amr16394869pzi.14.1684855040823; Tue, 23 May 2023 08:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684855040; cv=none; d=google.com; s=arc-20160816; b=Zot/vHMpk/wg/w2YyzNCUy72GD/Wfc2Zg2Cfa3Ej7cCjrRI6NCCZvga0htsBTb7bu5 29qb8SZLYe5fHTHwk31CVKW/dq+r9gFfB9hLPv4TShWYL9BoBTxSGbJLrhDSme2dA+XN ytQkF1zc8s99/RBWPALYSU5uG2cNh6rufwHsWtJD/8El2wCbutyrAmay+Z22Bhc2ZbKO Bm3kd7oOQ5u36WYoeqgLz9wZgIuk4njsxmYS5SgqVYiUgkUZ92xd3V9gN0tRtLbncA1B NG4bjRyV9LbgReQVXXrVS3fZFyJ9iX3nE/z1r5Vn6XRQtDUEktVBGO6+yd90Cy2AYxcb OB4Q== 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=IzQfrUoDB567BhcrupMhqZRRWj/+kRTaQHZSxeWSgSw=; b=WXA03BTHPZ2n6k/Tt6DIiBbUd9faTLSJXVBCI6porhgDyiTAXfHWBk7z/YEihp5H0a 7HDAeb81InIFEM4VQ3WKVmmDygS8zfOdUy4hBcq27uZB8a4iq6oAn0WQREyIcwN5VjoU 9hkldY41BRXUWTsVduhunSNJWc/v/pjfOZjp7VYdjCpAvoiYjdym4JrWup3XS4ndaQ8h AQvFkW7X3bER9jeLjJdzNndwpCfBGa/5XrFQbLsgFz2nXnB/DPB388BbZuykbQbaXjUC CKVC5EX9wtsjIO3i60e1MINY75Vom8cpaikgGvfwgyDC5AtPv7yxRttZdbQ/CiawrpIX WFHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="Gad/oaxn"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s2-20020a632c02000000b005288509b88asi2965385pgs.681.2023.05.23.08.17.08; Tue, 23 May 2023 08:17:20 -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; dkim=pass header.i=@collabora.com header.s=mail header.b="Gad/oaxn"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229773AbjEWPPT (ORCPT + 99 others); Tue, 23 May 2023 11:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237519AbjEWPPJ (ORCPT ); Tue, 23 May 2023 11:15:09 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D868E74; Tue, 23 May 2023 08:14:45 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id BDF586601EB5; Tue, 23 May 2023 16:14:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684854876; bh=2aHgngDY90rcz6eiJl7lXujREWkfwzn4RDYYWdp0Nuw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Gad/oaxnevggDfqtWB0MCzKsmih2/DtZujGpBn+dmfSUnVo9N+2RMgcy0Qz0970bC XPmA0kh5xe+HXRYs3y96KITC352gagXoDp/MSRyxd4zssaDQ4U+gkJmkGeyOwjwmWt /pPbGJrsS/YwjEw+6Ifm3YYOOusDhhrs0UKPQxPVVbMRV5KPg5xET2T6OMeXnl/V+j X58xQiQxHRUEiysN0YF5OwKnwlhWrcEJ46sBw7QKzyNeuNcm5y70+NB6QHBEMQCJoE ZjUEEQMJjRIIimIdRwuwi/pv3A+JNH386Bab/E0RIYJ4+SFJoFNyREyGUJ9+gL32l/ sKN/fKaIVAIZw== Message-ID: Date: Tue, 23 May 2023 17:14:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v2] media: mediatek: vcodec: mtk_vcodec_dec_hw: Use devm_pm_runtime_enable() Content-Language: en-US To: Fei Shao , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Chen-Yu Tsai Cc: Hans Verkuil , Andrew-CT Chen , Matthias Brugger , Mauro Carvalho Chehab , Tiffany Lin , Yunfei Dong , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20230515141610.v2.1.I0d1657be3fea5870f797e975a7aa490291e17993@changeid> From: AngeloGioacchino Del Regno In-Reply-To: <20230515141610.v2.1.I0d1657be3fea5870f797e975a7aa490291e17993@changeid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Il 15/05/23 08:16, Fei Shao ha scritto: > Convert pm_runtime_enable() to the managed version, and clean up error > handling and unnecessary .remove() callback accordingly. > > Signed-off-by: Fei Shao Reviewed-by: AngeloGioacchino Del Regno ...but I was probably too late :-)