Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2567160rwb; Mon, 15 Aug 2022 07:32:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR7eKy3yj8t0ktUNrdlXRO6OfX+CvvjNjjgDTENxP3x66iwFtY6JcDvF5uEHF5F/OMcyec7o X-Received: by 2002:a05:6402:1907:b0:43d:e91d:e544 with SMTP id e7-20020a056402190700b0043de91de544mr14825548edz.107.1660573958308; Mon, 15 Aug 2022 07:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660573958; cv=none; d=google.com; s=arc-20160816; b=BAnZNu4MKx5iCzZU8fg8bTDIyJImAituZX8JflaYuWBugSj01ps0DuxiKgPsVQ/Ms/ tJOQuosPgGDgB7mdhe6qnZT9/aCifHe0GHm+LvHQnuYLI6HmgpzoeVNtGRFcFcqkLb85 16aRsawSpdfvOqo1oqfjgw2wQmle/wM9PKRek7UQEz3zxkaGtszYXBUaYDz0uMELOQ7r rN2I5z8J9R092LB+jfgCkK/w4mmAXQNlhlGFSsK7zLr0jPVRrLfqh9xbHQ/85yirl1Oy tMhs+FrrqQAoOuJXVLj3AaK/XiPUgidv679QCUs8W8fqr/7UtykcA1GKzvRSdnUp/ks3 O+GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ex1CyPDiyBqHNiEdVhybnLDSaDFoiEJlZkGCjuPQQdI=; b=DDDLHhryWpSnyDv6y9wHcmsI1kC3YkVw7UCWCx9Q7hf7xsRgcu/zkx1ukosvSFWtaC 1bvd/9YvlaY39tHZ70YXidj9Rjf6zv6+Ip2aHzUJQZ+7jfUxkcuZ/tEKj5FjpGH3WsoH qv3RpYenezYFhuP3dJ5dJignhvLSekr/uPDfpYYsCLs392daVoyo7+4VuldlLXgApSXk wa3tDwEDQsJ0TNWGJbgREjzxaT55ST/xxCcBWohKzAaVQdKvPx4V2Ucl0uSitMYnmqvF jdAQR5EIU0V01qA45FLUo9pOslmBkpKXEKRwPmSRZ7d9zAxEvbQvtiRru4BKp+y7khei Bxzw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx9-20020a05640222a900b0043bb8c45f26si7465889edb.128.2022.08.15.07.32.10; Mon, 15 Aug 2022 07:32:38 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242413AbiHOOAW (ORCPT + 99 others); Mon, 15 Aug 2022 10:00:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242205AbiHOOAR (ORCPT ); Mon, 15 Aug 2022 10:00:17 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0BE3BE; Mon, 15 Aug 2022 07:00:14 -0700 (PDT) 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 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