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 0EA7AC25B06 for ; Sun, 14 Aug 2022 10:28:11 +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=IYKYBqivQbwRnNIzJpNZUSXVa6mdvS/85nld/gPSKFw=; b=QKUX7TAhrNq+0J Ox3/ETrrOgSSXZ0Xq8aY1qdUV+Ng18TTqT6MLjbYd5isdu5P4fSuGks8X9fTWdYrOvWJpn/t3+Fz1 m+Jn0qbm3N9VKzjJVZ+SyJkFjkaDU2X7Y9twAIm2oyT28d4r2BZDkRZoqiOcjPfLBVPrw4C/t38tP VE8BuqbKprGlupgA1JPaJIRukmjaWbEzYXbX+cweDJh+z3mOFI8sOTtEtKu96GkTg7E3WHxyq3H11 TNm6otjf4ZvXapZtunq6vYiu5jhSI0Ja9V9+QBZusEeePFzMnbrausCW11atu6Y6pKY8GykZJ5mdj ai4bKAHFUK7JOWjm4Qmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNApq-005ons-3p; Sun, 14 Aug 2022 10:27:10 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNAph-005okJ-W1 for linux-arm-kernel@lists.infradead.org; Sun, 14 Aug 2022 10:27:07 +0000 Received: by mail-ed1-x530.google.com with SMTP id z20so6352001edb.9 for ; Sun, 14 Aug 2022 03:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=F0QRLiWNSzIQtXswU6jXQI0utW/YNhjytPAn4syeAYo=; b=ZJSfm9kFCx/eZhg89Rs0t3m6Fy6adkXoTliit5PQQBdOtlMcNIvsEyy8+F8a0jpwPV o/dWuLgA8XDB66FvEGPw8jwbfxawdxjs+PMY0VwWWT2n9OVTGgFA7C36sytkEtHURtQm GDsVciUaHteupndYBIofcffxzFAgoTKS9u/78I6SYN4NYUHD5z64TJvD7nLnTSvRPQgO +y6PhiP7eSdk7TihwV9QG72AQP6H/UeOZ26QXxVUN9iGaspbV+50bNBxdjW65Gh6AeA0 QK5hzBSvcQ+tA6CCRDuJ9rRVNwVL9TK9aF97e1/DJci/A0DnA0TOKHmrgLLbzdhyX1+2 8P5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=F0QRLiWNSzIQtXswU6jXQI0utW/YNhjytPAn4syeAYo=; b=YPT0oOkA9a9aHNxhN3zaFxU16t5TxUvriH3F0m+DyHNEs+wjF+1rQnAnWC2e6k2pzS 2hdHXaU70ZsQun29QJ8OXSIk/A81h8Vgxo0RZfbS7VmHpx8CvesRBcoregVNnMhXz+Mb 8ocYknH1HbOdlK57AGUpTDxmAVJPlSftX0lK9LUHF8ZIW8if4sdYszKqPuz6PKVhYR/4 VxrEdyxrx15tCMv8v00cbq324cj71suh9Rx8/USsV3DLFMR83P2ZEmGKknyv3ZYbl6Gs 8WXGHpj7+FWxV6VGGhxaLh35EoLE9SIcZjS4GcawihujoK8udpdi+w1OAIG4FWzq1f0e UFSA== X-Gm-Message-State: ACgBeo1iUg5YyDIrG+jE91UhnXCob9HDcZKR2T5I2hUUCv4zp5JKXpv1 kzE7qdFdmGVl59Ry4sCoOys= X-Google-Smtp-Source: AA6agR4i+V31/LTEjlSFFV72AWe8uaurlX4Rluvgz+I9IqK+DcOgFvetksqi/8H1PWhsoFDmBT5uDA== X-Received: by 2002:aa7:de18:0:b0:43d:30e2:d22b with SMTP id h24-20020aa7de18000000b0043d30e2d22bmr10478796edv.224.1660472820604; Sun, 14 Aug 2022 03:27:00 -0700 (PDT) Received: from jernej-laptop.localnet (89-212-118-115.static.t-2.net. [89.212.118.115]) by smtp.gmail.com with ESMTPSA id v17-20020a17090690d100b0072aac7446easm2810028ejw.47.2022.08.14.03.26.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Aug 2022 03:27:00 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Chen-Yu Tsai , Samuel Holland 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 Subject: Re: [PATCH 3/9] soc: sunxi: sram: Prevent the driver from being unbound Date: Sun, 14 Aug 2022 12:26:59 +0200 Message-ID: <22747013.6Emhk5qWAg@jernej-laptop> In-Reply-To: <20220801030509.21966-4-samuel@sholland.org> References: <20220801030509.21966-1-samuel@sholland.org> <20220801030509.21966-4-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220814_032706_540569_A430D345 X-CRM114-Status: GOOD ( 10.02 ) 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 Dne ponedeljek, 01. avgust 2022 ob 05:05:03 CEST je Samuel Holland napisal(a): > 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") Signed-off-by: Samuel Holland Reviewed-by: Jernej Skrabec Best regards, Jernej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel