mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
techpack: audio: wcd_cpe: Fix -Wimplicit-enum-enum-cast
Change-Id: Ie415813c248c86c162673ea932927ffd1d35755d
This commit is contained in:
parent
b9f3e9838b
commit
925d92bed5
1 changed files with 3 additions and 3 deletions
|
|
@ -987,7 +987,7 @@ static enum cpe_svc_result broadcast_boot_event(
|
|||
static enum cpe_process_result cpe_boot_initialize(struct cpe_info *t_info,
|
||||
enum cpe_svc_result *cpe_rc)
|
||||
{
|
||||
enum cpe_process_result rc = CPE_SVC_FAILED;
|
||||
enum cpe_process_result rc = CPE_PROC_FAILED;
|
||||
struct cpe_svc_notification payload;
|
||||
struct cmi_core_svc_event_system_boot *p = NULL;
|
||||
|
||||
|
|
@ -1991,7 +1991,7 @@ enum cmi_api_result cmi_send_msg(void *message)
|
|||
GFP_ATOMIC);
|
||||
if (!msg) {
|
||||
CPE_SVC_REL_LOCK(&cpe_d.cpe_api_mutex, "cpe_api");
|
||||
return CPE_SVC_NO_MEMORY;
|
||||
return CMI_API_NO_MEMORY;
|
||||
}
|
||||
|
||||
if (CMI_HDR_GET_OBM_FLAG(hdr) == CMI_OBM_FLAG_OUT_BAND)
|
||||
|
|
@ -2006,7 +2006,7 @@ enum cmi_api_result cmi_send_msg(void *message)
|
|||
if (!msg->payload) {
|
||||
kfree(msg);
|
||||
CPE_SVC_REL_LOCK(&cpe_d.cpe_api_mutex, "cpe_api");
|
||||
return CPE_SVC_NO_MEMORY;
|
||||
return CMI_API_NO_MEMORY;
|
||||
}
|
||||
|
||||
msg->address = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue