diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 10985573aaa7c680613c1412c958d81d7af22f64..080d75962c5723da2ea9b9bcafbe850b5ccf171d 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1981,6 +1981,9 @@ static acpi_status acpi_bus_device_attach(acpi_handle handle, u32 lvl_not_used, if (acpi_bus_get_device(handle, &device)) return AE_CTRL_DEPTH; + if (device->handler) + return AE_OK; + ret = acpi_scan_attach_handler(device); if (ret) return ret > 0 ? AE_OK : AE_CTRL_DEPTH;