]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: x86-android-tablets: Stop using EPROBE_DEFER
authorHans de Goede <hansg@kernel.org>
Sat, 20 Sep 2025 20:07:13 +0000 (22:07 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 26 Sep 2025 11:26:43 +0000 (14:26 +0300)
commit01fd7cf3534aa107797d130f461ba7bcad30414d
tree6639aed4f8b3c8a6bad9f388936a9aaf5e094177
parent83fdf93f4bf45bda99c292c550ff299e2c249b1f
platform/x86: x86-android-tablets: Stop using EPROBE_DEFER

Since the x86-android-tablets code uses platform_create_bundle() it cannot
use EPROBE_DEFER and the driver-core will translate EPROBE_DEFER to ENXIO.

Stop using EPROBE_DEFER instead log an error and return ENODEV, or for
non-fatal cases log a warning and return 0.

Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Link: https://patch.msgid.link/20250920200713.20193-21-hansg@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/x86-android-tablets/core.c
drivers/platform/x86/x86-android-tablets/other.c