]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
platform/chrome: cros_usbpd_notify: provide ID table for avoiding fallback match
authorTzung-Bi Shih <tzungbi@kernel.org>
Fri, 29 Mar 2024 07:56:19 +0000 (15:56 +0800)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:27:24 +0000 (16:27 +0200)
commite3813bb4d551fcf1df70fd45cc5ca8fb43fc00c8
tree56b52bdb0ae865c0eb28ef536c31922de88312dc
parentff8a0eeae0aa5713b109c51da9ac4925e91a0c0f
platform/chrome: cros_usbpd_notify: provide ID table for avoiding fallback match

BugLink: https://bugs.launchpad.net/bugs/2075154
[ Upstream commit 8ad3b9652ed6a115c56214a0eab06952818b3ddf ]

Instead of using fallback driver name match, provide ID table[1] for the
primary match.

[1]: https://elixir.bootlin.com/linux/v6.8/source/drivers/base/platform.c#L1353

Reviewed-by: Benson Leung <bleung@chromium.org>
Acked-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240329075630.2069474-8-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/platform/chrome/cros_usbpd_notify.c