Merge "msm: camera: sensor: Change initializer to 0 instead of -EINVAL"

This commit is contained in:
Linux Build Service Account 2016-11-10 22:49:24 -08:00 committed by Gerrit - the friendly Code Review server
commit a2169b6661

View file

@ -645,7 +645,7 @@ static int32_t msm_flash_release(
static int32_t msm_flash_config(struct msm_flash_ctrl_t *flash_ctrl,
void __user *argp)
{
int32_t rc = -EINVAL;
int32_t rc = 0;
struct msm_flash_cfg_data_t *flash_data =
(struct msm_flash_cfg_data_t *) argp;