Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/android-msm-angler-3.10-oreo-m7'…
Browse files Browse the repository at this point in the history
… into oreo-mr1
  • Loading branch information
franciscofranco committed Dec 4, 2018
2 parents 59cb232 + 309d642 commit da25499
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#define MSM_JPEG_NAME "jpeg"
#define DEV_NAME_LEN 10

static char devname[DEV_NAME_LEN];

static int msm_jpeg_open(struct inode *inode, struct file *filp)
{
int rc = 0;
Expand Down Expand Up @@ -185,7 +187,6 @@ static int msm_jpeg_init_dev(struct platform_device *pdev)
struct msm_jpeg_device *msm_jpeg_device_p;
const struct of_device_id *device_id;
const struct msm_jpeg_priv_data *priv_data;
char devname[DEV_NAME_LEN];

msm_jpeg_device_p = kzalloc(sizeof(struct msm_jpeg_device), GFP_ATOMIC);
if (!msm_jpeg_device_p) {
Expand Down
5 changes: 2 additions & 3 deletions drivers/platform/msm/sps/sps.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -1017,8 +1017,6 @@ static void sps_device_de_init(void)
SPS_ERR("sps:SPS de-init: BAMs are still registered");

sps_map_de_init();

kfree(sps);
}

sps_mem_de_init();
Expand Down Expand Up @@ -2823,6 +2821,7 @@ static struct platform_driver msm_sps_driver = {
.name = SPS_DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = msm_sps_match,
.suppress_bind_attrs = true,
},
.remove = msm_sps_remove,
};
Expand Down

0 comments on commit da25499

Please sign in to comment.