Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c314eed authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

light: downgrade hardware open error am: 7af6d0fe

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1662759

Change-Id: I48c6332af23bfa1b83e5f84b43b3b858e50a482c
parents 3362fae7 7af6d0fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);