In the function that connects to the stub of device-led module for IPC,
it gets stub proc name before establishing connection.
There were some typos:
The enum of device-led is HAL_MODULE_DEVICE_LED but it was
HAL_MODULE_DEVICE_DISPLAY.
In the log message, it should be "device-led" but
"device-display".
Despite of this typo, the IPC had no error since the stub proc name of
device-display and device-led was same.
But this typo might cause serious error, it should be fixed.
Change-Id: If58e6a8c35aa8f181d7104b36491bc7e99fad99c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
if (g_hal_device_led_ipc_funcs_h)
return 0;
- ret = hal_common_get_stub_proc_name(HAL_MODULE_DEVICE_DISPLAY, &stub_proc_name);
+ ret = hal_common_get_stub_proc_name(HAL_MODULE_DEVICE_LED, &stub_proc_name);
if (ret != 0) {
- _E("Failed to get stub proc name for device-display: ret(%d)", ret);
+ _E("Failed to get stub proc name for device-led: ret(%d)", ret);
return ret;
}