Merge "fb: msm_dba: fix issue in dba driver" into dev/msm-4.4-8996au
This commit is contained in:
commit
1fa2159a4c
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2015-2017, 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
|
||||
|
@ -1539,14 +1539,14 @@ exit:
|
|||
static int adv7533_video_on(void *client, bool on,
|
||||
struct msm_dba_video_cfg *cfg, u32 flags)
|
||||
{
|
||||
int ret = -EINVAL;
|
||||
int ret = 0;
|
||||
u8 lanes;
|
||||
u8 reg_val = 0;
|
||||
struct adv7533 *pdata = adv7533_get_platform_data(client);
|
||||
|
||||
if (!pdata || !cfg) {
|
||||
pr_err("%s: invalid platform data\n", __func__);
|
||||
return ret;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
mutex_lock(&pdata->ops_mutex);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015, 2017, 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
|
||||
|
@ -123,7 +123,7 @@ int msm_dba_helper_i2c_write_byte(struct i2c_client *client,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
pr_debug("%s: [%s:0x02%x] : W[0x%02x, 0x%02x]\n", __func__,
|
||||
pr_debug("%s: [%s:0x%02x] : W[0x%02x, 0x%02x]\n", __func__,
|
||||
client->name, addr, reg, val);
|
||||
client->addr = addr;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue