Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2739450lqz; Wed, 3 Apr 2024 07:18:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhjnrtQCtFHkU/IKm4j+N21G18En194KiGaCxnbLJjXG55KhM6i5UwWbBT7zagnP21K3IcQD/K1hr7DLgSb1kk837Hw9kHEkylBTmwuQ== X-Google-Smtp-Source: AGHT+IHx8PaMxUCwwFl6B3VVvnpnxSNezEANXFmw1MejJV1gb46A0YoQlFsHCrh+1pRIxLLvd6Q5 X-Received: by 2002:a17:907:7ea7:b0:a47:52e7:1068 with SMTP id qb39-20020a1709077ea700b00a4752e71068mr12407241ejc.52.1712153899123; Wed, 03 Apr 2024 07:18:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712153899; cv=pass; d=google.com; s=arc-20160816; b=CCO9yzps9b+Ano5C/42qbi762TCDV6WZC9oJeCkZ8VQDgBCjGYhn0e58+BvRzuVmgJ V3uH4ufs+nLpjkfMLjFGGKqTrIwtb3xtgLtc9wULPYbcmZ5R97FG9OcMLJTm9WsELZKe PLrKWTxh2YMrK4Za/EINA07SrgPWUKultuUye7m18JS9TcrV3Jvt31TFCY2FsapZotE1 aDut+CAuP+kDbzTJch99PHKA7mUu/LoIGpZEgQ64bZioKl9tP9h06P6UdnqVzzHWj3xT 57Tnj0EdoFNiB4vIg9twsa08U0dNdUOioh5t8KgxVO7FdX/ar6809LgxgpRH2B4XoV5O hFVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=GuCdjLuGGbkRMQ83O6riv/SQKm1Ri8pT6mWmBtg/ZLU=; fh=wXEnrJEklr34V4ryXL1XaPu7si+Zl2Wcag0kW+a1zaI=; b=bwbk+fHTAHEu8vJpXe8jMoES1f9Pcoxe9EFs6huD9j76FbkObiJdnSRkV64yqnX3J2 lE3YLdYePYt/xKNmsl/K8O98WtraNqADADnwH2KgOFcTWA2zMm3fAigJTHH52TlNduqD rfOx21ugjXjC8VM2bxPIpC01a1ln9hncirHmlJ0rDUpyXT7UWprvjLxTDr4m8o8fYEsF D/4t1jvapVY0rhLZFf3H9FpKElgYlLK2yorw6fiAGKbrw1Fo4u3/8Rb57zARAV4EGRBD XrEbHmsgIP4ZwijRkJ4qPgUE9C+0UVx1wc1lNk5sOj4ABueV19UKH5TmykE4QIXyHq6r Dw4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sx9NMrXl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3141-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3141-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id mc11-20020a170906eb4b00b00a4e7fd128c6si2216040ejb.918.2024.04.03.07.18.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:18:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3141-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sx9NMrXl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3141-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3141-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D7E121F2A989 for ; Wed, 3 Apr 2024 14:17:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2FBB1494B5; Wed, 3 Apr 2024 14:17:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sx9NMrXl" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E7EC14900E for ; Wed, 3 Apr 2024 14:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712153829; cv=none; b=mbQ9MU9GzM4d6A0sWS3It9gyknoPLIX50QLjtiu2wUsUfbjRanRbpW66S0dQHpcDzKLR+exMGYJM/HXyQy+2e8qqI0k0oadI5WNVtR2nbP3upDDxLTMXjrG2MNAbVacTpQ5Inyyz+M9KWl901lkK6Bq4RUaOOBtSyr0JkYISrIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712153829; c=relaxed/simple; bh=sLpMucYAHhsdtxJHN7w3Qoxaqd4j7HhpYMAWN0I+lGI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=CNFc5CejkJhyTmHbFHUhbx0jvh/OXqBABinPYqLryDzcTaAxPClPcSAvAZcD6MMzRpyE4Q9/4C6nJ2kSdjeWL7a4QqqgVV/55Z63uwXQaiPc3bv4lIykN6TfE2qlXMBENdbzsnhF+cdvb0O1cRZAf3bki52nqVl5o11S9g7rbxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sx9NMrXl; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a44665605f3so736495566b.2 for ; Wed, 03 Apr 2024 07:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712153826; x=1712758626; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=GuCdjLuGGbkRMQ83O6riv/SQKm1Ri8pT6mWmBtg/ZLU=; b=sx9NMrXlQ+u3ukWVEs+VrEc4EfgDdAgT7Q8F59YYGunEa2gn9draEM1l62YlQcPKJC Jiteq6eRuNI9eGQPGCkQUlxZGvtNVUXMtRrAvKrfR1b1ZMyAua2LCXLAuIIURnPQN5oD ZxRqsEbNqMNrq+oFowyOk1FGBNl33CM1Eaq4ddRhMd31iVsxf4ixtzySDIhfE+PY4A2M 2qIY4g1rdqSfB1HJKzFwQpS3zmvw+d8OiHv1n3PyZH3OmhqLCrGM0KFXVMN8+LE7Piuj g8Lx6defrNpJvLfi+jpeJBvPd4QqZLFzNimaDgHFruOK4QYsmYz1L8xpP40t0iCyMaMr vWqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712153826; x=1712758626; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GuCdjLuGGbkRMQ83O6riv/SQKm1Ri8pT6mWmBtg/ZLU=; b=P/NyqAXnaV0Jf0pudXKnyYYS1qMOQJcvremVVltVKybdP6R0qUI+8f26H1DUpuT9Cg bgu9I/zK1qb17VVR67sFzio3gUy7rTIrE6lQbKFDQr8+fe7Rv10C+BMIil3vpDz1ACWC /Wb/hQOU+jX3mmmHi0xHWF6b2Fb6JWC2YhjpyUytI1eOlltyz2M7qlpHVooRbBzSql2d AKVOTtxkGRx7soSD+07KjaOv4Ee4XBMFpw5YaGW1bfzb6TFs1dLv48awzS+iI++61f9t abdnT69ht9DfAjn6kRKVdyzMV1NmEwxKH6Q7+f9ZbA6UDOELA7Kj91sHHoRAaomSQnS8 QKhg== X-Forwarded-Encrypted: i=1; AJvYcCVdQzztsYY3oFeEfq89dTK25NuGcLOK0JVPReAFUkKCl9S1AqBqrtzn+/mVRlnLLnEdawT+OFvjqZD4VvacigmoEcero0DHf5HmBWY8z3Mv X-Gm-Message-State: AOJu0YxJlOVljSgMAnb76TurJZ84xfqc88AiB21t2L0g2jC75v1NY0mN INpDIpUvxMvL+gi84O/xKcPerv88nYfytMxX+HsdTOtTqRPQbbcPRdJccdYwSAE= X-Received: by 2002:a17:906:2286:b0:a4e:2ad3:60ff with SMTP id p6-20020a170906228600b00a4e2ad360ffmr10167064eja.47.1712153825752; Wed, 03 Apr 2024 07:17:05 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id he18-20020a1709073d9200b00a4729f093ecsm7737819ejc.53.2024.04.03.07.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:17:05 -0700 (PDT) From: Krzysztof Kozlowski Subject: [PATCH v2 0/7] mmc/wifi/bluetooth: store owner from modules with sdio_register_driver() Date: Wed, 03 Apr 2024 16:16:49 +0200 Message-Id: <20240403-module-owner-sdio-v2-0-ae46d6b955eb@linaro.org> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANFkDWYC/32NQQ6CMBBFr0Jm7Zi2YIyuvIdhUdoBJsGOmSpqC He3cgCX7yX//QUyKVOGc7WA0syZJRVwuwrC6NNAyLEwOOMaU7sT3iQ+J0J5JVLMkQV9Fw+R6t7 GYwNld1fq+b01r23hkfND9LNdzPZn/9VmiwapMdZ01obg/WXi5FX2ogO067p+ATismyqzAAAA To: Ulf Hansson , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , Kalle Valo , Jeff Johnson , Arend van Spriel , Brian Norris , Francesco Dolcini , =?utf-8?q?J=C3=A9r=C3=B4me_Pouiller?= Cc: linux-mmc@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, Krzysztof Kozlowski , Jeff Johnson , Francesco Dolcini X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1881; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=sLpMucYAHhsdtxJHN7w3Qoxaqd4j7HhpYMAWN0I+lGI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmDWTWhZYH5I8P8YpT2j4tBswcTi465OR3R2Vdy MFQyrfbcxKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZg1k1gAKCRDBN2bmhouD 13mdD/9oyNN2LDJS4UUT9lh9FMmVKzv4zMsED2g7AFXgqM0qm2cmuSWbj4u0GU5NwOX7BrqZ0vm 1MoFRjiJXrPRIf7W0+2V4H+nJoVr1yuR2iyhjUzHWMvuP0zH94qu171iOEclYnnYRB1qU+aLfL1 kJzO1IgcZr62n1nUT87KOIg6EYDjM3bkN70HEKdTpUnT/4IeQGlz31nGBN5fMwY7ilGcHj2o6eD SD/B+XlchCBRqtClLLHRjE6vWL3Kh8waYpVcQN5tkTL8n4Z6Kx2V2ggi/cRaAivFJE0QO0twESt a2uhb7p02ZXGJUgcq/q8X3ZHdg3Tk52fyiITyoVkmqt+aeXgy3BIjNLzbEYYCdkbE+O+a6aIVMY sWh80j9S3lKWFD459htyZZNQ+JAYTQOPyskSA0Y77+ZJ2hcky7Bj0npm4yECJMg7Clz5yA/nOCP /p3pZpdzVSifUQjpfg/Pyb3kFJfSAY8JZyX3rHkMb8drpepqWBRAhDZXwCnHmb8gFL9U1fn9149 H/c92m5ZCti6AeuyN9qchKtH+ni3k2ZwfcSCq0jHltwjYJRvyR/f9kdOe7BtQVEtUHEKrn/TPPn ucoPD3S7+PK5iVuBtSj1znupa2G6inwizGfgWIioyOsREpGfSWWDon01uTGqrV6OhMBIx5fIAGI RSRd/yitwa0sF4w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Changes in v2: 1. Add "wifi: ath10k: sdio: simplify module initialization" patch, from my other patchset to avoid conflicts. 2. Add Acks/Rb tags. 3. Drop applied SDIO patch, which was the dependency for the rest cleanups. 4. Update subjects according to feedback. - Link to v1: https://lore.kernel.org/r/20240329-module-owner-sdio-v1-0-e4010b11ccaa@linaro.org Merging ======= With Acks from Kalle, please take entire set via mmc/sdio. Description =========== Modules registering driver with sdio_register_driver() might forget to set .owner field. Solve the problem by moving this task away from the drivers to the core code, just like we did for platform_driver in commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register"). Best regards, Krzysztof --- Krzysztof Kozlowski (7): Bluetooth: btmrvl_sdio: drop driver owner initialization Bluetooth: btmtksdio: drop driver owner initialization wifi: ath10k: sdio: simplify module initialization wifi: ath10k: sdio: drop driver owner initialization wifi: brcm80211: drop driver owner initialization wifi: mwifiex: drop driver owner initialization wifi: wfx: drop driver owner initialization drivers/bluetooth/btmrvl_sdio.c | 1 - drivers/bluetooth/btmtksdio.c | 1 - drivers/net/wireless/ath/ath10k/sdio.c | 21 +-------------------- .../wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 1 - drivers/net/wireless/marvell/mwifiex/sdio.c | 1 - drivers/net/wireless/silabs/wfx/bus_sdio.c | 1 - 6 files changed, 1 insertion(+), 25 deletions(-) --- base-commit: 7d860d3177a745017d38b37bc2bff2f090631148 change-id: 20240329-module-owner-sdio-abd5de3f1d74 Best regards, -- Krzysztof Kozlowski