From: Pratap Nirujogi <pratap.nirujogi@amd.com>
To: <rafael@kernel.org>, <lenb@kernel.org>, <mlimonci@amd.com>,
<bin.du@amd.com>, <alexander.deucher@amd.com>
Cc: <benjamin.chan@amd.com>, <king.li@amd.com>,
<linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Pratap Nirujogi <pratap.nirujogi@amd.com>
Subject: [PATCH v1] ACPI: bus: Fix MFD child automatic modprobe issue
Date: Tue, 17 Mar 2026 23:47:57 -0400 [thread overview]
Message-ID: <20260318034842.1216536-1-pratap.nirujogi@amd.com> (raw)
MFD child devices sharing parent's ACPI Companion fails to probe as
acpi_companion_match() returns incompatible ACPI Companion handle for
binding with the check for pnp.type.backlight added recently. Remove this
pnp.type.backlight check in acpi_companion_match() to fix the automatic
modprobe issue.
Fixes: 7a7a7ed5f8bdb ("ACPI: scan: Register platform devices for backlight device objects")
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
---
drivers/acpi/bus.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index f6707325f5821..2ec095e2009e4 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -818,9 +818,6 @@ const struct acpi_device *acpi_companion_match(const struct device *dev)
if (list_empty(&adev->pnp.ids))
return NULL;
- if (adev->pnp.type.backlight)
- return adev;
-
return acpi_primary_dev_companion(adev, dev);
}
--
2.43.0
next reply other threads:[~2026-03-18 3:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-18 3:47 Pratap Nirujogi [this message]
2026-03-18 11:02 ` [PATCH v1] ACPI: bus: Fix MFD child automatic modprobe issue Rafael J. Wysocki
2026-03-18 12:25 ` Nirujogi, Pratap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260318034842.1216536-1-pratap.nirujogi@amd.com \
--to=pratap.nirujogi@amd.com \
--cc=alexander.deucher@amd.com \
--cc=benjamin.chan@amd.com \
--cc=bin.du@amd.com \
--cc=king.li@amd.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mlimonci@amd.com \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox