mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
light: downgrade hardware open error am: 7af6d0fecc am: 7c314eed3d am: 93c8494596 am: 28988997c7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1662759 Change-Id: I1351ab9554820e017db93ab329ba833b01d53297
This commit is contained in:
@@ -140,7 +140,7 @@ light_device_t* getLightDevice(const char* name) {
|
||||
ret = hwModule->methods->open(hwModule, name,
|
||||
reinterpret_cast<hw_device_t**>(&lightDevice));
|
||||
if (ret != 0) {
|
||||
ALOGE("light_open %s %s failed: %d", LIGHTS_HARDWARE_MODULE_ID, name, ret);
|
||||
ALOGI("light_open %s %s failed: %d", LIGHTS_HARDWARE_MODULE_ID, name, ret);
|
||||
}
|
||||
} else {
|
||||
ALOGE("hw_get_module %s %s failed: %d", LIGHTS_HARDWARE_MODULE_ID, name, ret);
|
||||
|
||||
Reference in New Issue
Block a user