Re: [PATCH] platform/chrome: cros_usbpd_notify: Only use parent drvdata when parent is GOOG0004

From: Tzung-Bi Shih

Date: Tue Oct 06 2026 - 06:30:35 EST


On Sat, Oct 03, 2026 at 06:28:53PM -0400, James Fairweather wrote:
> cros_usbpd_notify_probe_acpi() takes the EC device pointer from
> dev_get_drvdata(dev->parent) and assumes it is a struct cros_ec_device.
> That only holds when GOOG0003 is a child of GOOG0004. On older devices
> without that hierarchy, such as Google Nami, GOOG0003 and GOOG0004 are
> siblings under the ACPI EC (PNP0C09):
>
> PNP0C09:00 (acpi-ec)
> |-- GOOG0003:00 (cros-usbpd-notify-acpi)
> `-- GOOG0004:00 (cros_ec_lpcs)
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/1] platform/chrome: cros_usbpd_notify: Only use parent drvdata when parent is GOOG0004
commit: ca75b38b1a3c2eabe81d231dae4ea180cf6287cd

Thanks!