platform/x86: dell-ddv: Prefer asynchronous probing
authorArmin Wolf <W_Armin@gmx.de>
Thu, 9 Feb 2023 21:15:03 +0000 (22:15 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 13 Feb 2023 11:07:50 +0000 (12:07 +0100)
commit6113bd52443f3f9035acf27d8793b0246a692e81
treeb9cb20008787e4b77424b9654addc4727817e4af
parent3b7eeff93d291299841f943a5e9b43bb160b3992
platform/x86: dell-ddv: Prefer asynchronous probing

During probe, both sensor buffers need to be queried to
initialize the hwmon channels. This might be slow on some
machines, causing a unnecessary delay during boot.
Mark the driver with PROBE_PREFER_ASYNCHRONOUS so that it
can be probed asynchronously.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230209211503.2739-3-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell/dell-wmi-ddv.c