Merge pull request #188 from elerch/patch-1

return 0 instead of -EINVAL when no filename found
This commit is contained in:
Patrik Jakobsson
2019-12-10 16:32:36 +01:00
committed by GitHub

View File

@@ -577,7 +577,7 @@ int fthd_isp_cmd_set_loadfile(struct fthd_private *dev_priv)
if (!filename) {
pr_err("no set file for sensorid %04x %04x found\n",
dev_priv->sensor_id0, dev_priv->sensor_id1);
return -EINVAL;
return 0;
}
/* The set file is allowed to be missing but we don't get calibration */