Re: [PATCH] platform/chrome: cros_ec_typec: Defer probe on missing EC parent

From: Tzung-Bi Shih
Date: Tue Jun 10 2025 - 22:20:08 EST


On Tue, Jun 10, 2025 at 05:37:47PM +0200, Tomasz Michalec wrote:
> If cros_typec_probe is called before EC device is registered,
> cros_typec_probe will fail. It may happen when cros-ec-typec.ko is
> loaded before EC bus layer module (e.g. cros_ec_lpcs.ko,
> cros_ec_spi.ko).
>
> Return -EPROBE_DEFER when cros_typec_probe doesn't get EC device, so
> the probe function can be called again after EC device is registered.
>
> [...]

Applied to

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

[1/1] platform/chrome: cros_ec_typec: Defer probe on missing EC parent
commit: 8866f4e557eba43e991f99711515217a95f62d2e

Thanks!