From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 84E9BC00140 for ; Mon, 15 Aug 2022 14:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x9Fxhq0X77vU/rmHeJvqeOngfQJ+mytcGVDho00+wVQ=; b=a0xpCfAlwBSJPB Mq6MMNdXd7lYFPLWT8y+06A7VFV5cIb+lBsReiVxOBabV2EJvbkb9eYNUXMK9eom9queCxMWYRR3h dAHHDmWgnSNk0gi0aX+LfB+wqglDC/Bq/aElrlyv46oZnKjQw/eDo1XKDfKBlhd++KbsItl5RRNKH zy1VUPDe7/pPyJlU4NvwyakKTWLcavXLC30f5VbfHnBjNke/SdJ8wynmN37ITWroXsG9PXk68tfqP Yv+HIOy5js3ER85DPMSND8GU+blZFnr9HxUeuNZOmFWWMV+BjCw6iCc+2WNQ0iTFaEJh08xAik9w1 OHLDjF4mLLGXoe8G+Bwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNb0p-00HWhW-DQ; Mon, 15 Aug 2022 14:24:15 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNadX-00HC5g-Rs for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2022 14:00:13 +0000 Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNadS-00041B-2k; Mon, 15 Aug 2022 16:00:06 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Chen-Yu Tsai , Jernej Skrabec , linux-arm-kernel@lists.infradead.org Cc: Samuel Holland , Arnd Bergmann , Hans de Goede , Icenowy Zheng , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Samuel Holland Subject: Re: [PATCH v2 04/10] soc: sunxi: sram: Prevent the driver from being unbound Date: Mon, 15 Aug 2022 16:00:05 +0200 Message-ID: <2458395.Sgy9Pd6rRy@diego> In-Reply-To: <20220815041248.53268-5-samuel@sholland.org> References: <20220815041248.53268-1-samuel@sholland.org> <20220815041248.53268-5-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220815_070011_955045_949055BC X-CRM114-Status: GOOD ( 12.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Montag, 15. August 2022, 06:12:41 CEST schrieb Samuel Holland: > This driver exports a regmap tied to the platform device (as opposed to > a syscon, which exports a regmap tied to the OF node). Because of this, > the driver can never be unbound, as that would destroy the regmap. Use > builtin_platform_driver_probe() to enforce this limitation. > > Fixes: 5828729bebbb ("soc: sunxi: export a regmap for EMAC clock reg on A64") > Reviewed-by: Jernej Skrabec > Signed-off-by: Samuel Holland Reviewed-by: Heiko Stuebner Tested-by: Heiko Stuebner _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel