Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1059099pxu; Wed, 2 Dec 2020 10:00:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0/eC2EtSpKunttqnpM5gibu90/sfzfjZY+gaIzAnMmUVOxtafuRoVsQyU+2KoVYk+Gp3Q X-Received: by 2002:a50:ab47:: with SMTP id t7mr1106657edc.289.1606932010069; Wed, 02 Dec 2020 10:00:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606932010; cv=none; d=google.com; s=arc-20160816; b=okeSuaE2ma38cM4FMMuCWkJ5ld+f3lR+jQgONxVUW+F07rJmNei2SvfP157RB4WCtZ D0n01D0w7xKAGzpt7JZrsnpOZ5hsDJWUzobLEFqj+iVb3EqmOaxDiFfwPwzMG8g6RMjH y18ELjp/4naofOlTSjOI0W96gGIOBa88+rNJHH/ejy+P32cg0xaVXSttbUyBti4Mg/1F jBC4RmGIN1sPiLeymupmjMVJc64yfB2XhW9RuxG7wtcwcHU3kWPCiL86o4ymcK6jK3kc GWrLA9FYp2A7PykLDLPwKcfAunqMUo8HIqLZXmDr+6Pr8yRQr3eYmRI9a/J0AlE6WraJ auHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ryyYawzS2MjebmkZYtVtHUp0Y0QlBniiFC9GtFM7sjg=; b=fQ8CiQZV/YGFkD6P2nmZXy4muwo88Ay6Lgh40PZcexiIU+f/gMa/Bi9dBIqSC+7SBq CbtskKdx++KFe5ZVRI6xaA3jLfY3pNwTlRhEuWKrYgpRVCxlOldODdQPObKkuAxRrKdd TZWI7nZDujFwtUy2hmyOyEqMMqHwCyTNo7R/Rlu2w1bXRPKfIXPS/60UcbAmDb0XCt0p gQCByAbY6Vrxzrp5Jv3HaWdYiITmhoi0d/iGTF5m9DEbNPsWE615JN4bKO+B89nbf05Q RDpsLoqIiyH3tca47f/pHHnvDxBSNgAC/pWo5jpUyum1HGP8lTw0pTmhB+TJa6NHKW0/ kTNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JrsjG0Iz; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm2si449728edb.472.2020.12.02.09.59.46; Wed, 02 Dec 2020 10:00:10 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JrsjG0Iz; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728912AbgLBR4E (ORCPT + 99 others); Wed, 2 Dec 2020 12:56:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgLBR4D (ORCPT ); Wed, 2 Dec 2020 12:56:03 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64AC9C0613CF; Wed, 2 Dec 2020 09:55:23 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id o9so1705238pfd.10; Wed, 02 Dec 2020 09:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ryyYawzS2MjebmkZYtVtHUp0Y0QlBniiFC9GtFM7sjg=; b=JrsjG0IzQ0TgPk4TC/V99EGsekn3FhEaEM4vkQy2ZkEdIf0DtUX+LwjaFp4XV1VvqP s/sNvoVcWMzNggQacUTfqCbGGuaZOsIJU8y4uRrdHWXpCg8BCP5PgMQB6RqAQd5F+SGX AGdrkNQlhr1T1fqcdxAOVz4sBkV0hGM4j3k9Qr9SOmHXvb1mAqbxHNqQkT1M1kfBY3tr CvMZb4i8rbJPLgka7aiMcbL3xkzi+tM+Of4E/94umUvUAJIlzFmg92Tl4izJOQfQCFgE gpFti5D7qDz8BQC0PBjIjUhdiv0VpUBjin5pfTSVNhmFo7FQCvIiCCHvO4tNO7jgNWwm sEKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ryyYawzS2MjebmkZYtVtHUp0Y0QlBniiFC9GtFM7sjg=; b=muf/J0nrPN2jwrUNR4hvACI/ozNH/xmNuongeq8EERm4eJz7I/rNqDlwbIooka4ahT 87VgOsRF8LdMxihfHVO9aehqbsyqtInOzexGhqL2kCeMjV46xoYrH+3f5fd8HqSrrh2Y 0clFC5re+J+ieEFs1M0/U2GGV8A60wN+ApKafKtQItiINEF80VEPZaoWdGC2yWR2x2hb MWLvsjsX8T20OrdIfZYKMyMP90NpPelNB68wp4PWjNqbcH2PftWj58Enfk7NhtJsvbO0 yZOGoTkN6vBsotxF6cHBQxUMPLtfLuv6cIiILvr+/j/rQ0fLN8q4UVw0w/sTmNNaN5vc NHvA== X-Gm-Message-State: AOAM530cyKQyY05U22XhQ3p7atO431rnFLYcM21Nu89iGGfhq4BhNGwG GFVBQl2rc0kQkR4fTiJUweW0s5LRuhM= X-Received: by 2002:a62:1c96:0:b029:198:1cb6:26bd with SMTP id c144-20020a621c960000b02901981cb626bdmr3599343pfc.33.1606931722779; Wed, 02 Dec 2020 09:55:22 -0800 (PST) Received: from [10.230.28.242] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id a3sm409853pfh.106.2020.12.02.09.55.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2020 09:55:21 -0800 (PST) Subject: Re: [PATCH v5 06/11] soc: bcm: raspberrypi-power: Release firmware handle on unbind To: Nicolas Saenz Julienne , u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org Cc: f.fainelli@gmail.com, linux-pwm@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, wahrenst@gmx.net, linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, p.zabel@pengutronix.de, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, sboyd@kernel.org, linux-rpi-kernel@lists.infradead.org, bgolaszewski@baylibre.com, andy.shevchenko@gmail.com References: <20201123183833.18750-1-nsaenzjulienne@suse.de> <20201123183833.18750-7-nsaenzjulienne@suse.de> From: Florian Fainelli Message-ID: Date: Wed, 2 Dec 2020 09:55:19 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201123183833.18750-7-nsaenzjulienne@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/23/2020 10:38 AM, Nicolas Saenz Julienne wrote: > Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware > interface when unbinding the device. > > Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli -- Florian