|
@@ -367,7 +367,7 @@ static void sde_hdcp_2x_clean(struct sde_hdcp_2x_ctrl *hdcp)
|
|
|
list);
|
|
|
hdcp2_close_stream(hdcp->hdcp2_ctx,
|
|
|
stream_entry->stream_handle);
|
|
|
- kzfree(stream_entry);
|
|
|
+ kfree(stream_entry);
|
|
|
hdcp->stream_count--;
|
|
|
}
|
|
|
|
|
@@ -750,7 +750,7 @@ static void sde_hdcp_2x_manage_stream(struct sde_hdcp_2x_ctrl *hdcp)
|
|
|
stream_entry->stream_handle);
|
|
|
hdcp->stream_count--;
|
|
|
list_del(element);
|
|
|
- kzfree(stream_entry);
|
|
|
+ kfree(stream_entry);
|
|
|
query_streams = true;
|
|
|
} else if (!stream_entry->stream_handle) {
|
|
|
if (hdcp2_open_stream(hdcp->hdcp2_ctx,
|
|
@@ -801,7 +801,7 @@ static bool sde_hdcp_2x_remove_streams(struct sde_hdcp_2x_ctrl *hdcp,
|
|
|
/* Stream wasn't fully initialized so remove it */
|
|
|
hdcp->stream_count--;
|
|
|
list_del(entry);
|
|
|
- kzfree(stream_entry);
|
|
|
+ kfree(stream_entry);
|
|
|
} else {
|
|
|
stream_entry->active = false;
|
|
|
}
|
|
@@ -1099,7 +1099,7 @@ int sde_hdcp_2x_register(struct sde_hdcp_2x_register_data *data)
|
|
|
|
|
|
return 0;
|
|
|
error:
|
|
|
- kzfree(hdcp);
|
|
|
+ kfree(hdcp);
|
|
|
hdcp = NULL;
|
|
|
unlock:
|
|
|
return rc;
|
|
@@ -1114,5 +1114,5 @@ void sde_hdcp_2x_deregister(void *data)
|
|
|
|
|
|
kthread_stop(hdcp->thread);
|
|
|
sde_hdcp_2x_disable(data);
|
|
|
- kzfree(hdcp);
|
|
|
+ kfree(hdcp);
|
|
|
}
|