summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2016-03-03 16:27:59 +0100
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:49:25 +0900
commit0a9b886235f5bda982365baa6eb87f6259afa89b (patch)
treef021d8a6b0a0fb77249526cd2ef23b85643e2faa /drivers/media
parent76523c94a631714f0eab517e254434d3a9b55d3b (diff)
fimc-is: Rename "is fail" to "failed"
Let's correct these phrases before I start believing they are proper grammatical constructs... Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-companion-dt.c34
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-companion.c4
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-core.c8
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-device-companion.c32
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-device-csi.c7
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-device-flite.c6
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-device-ischain.c236
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-device-ois.c6
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-device-sensor.c108
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-dt.c30
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-groupmgr.c24
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-hw-ischain.c6
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-interface.c12
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-resourcemgr.c14
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-3aa.c66
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-3aac.c42
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-companion.c10
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-isp.c60
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-scc.c36
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-scp.c40
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-sensor.c52
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-vdisc.c38
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video-vdiso.c38
-rw-r--r--drivers/media/platform/exynos/fimc-is/fimc-is-video.c23
-rw-r--r--drivers/media/platform/exynos/fimc-is/sensor/fimc-is-device-6d1.c10
-rw-r--r--drivers/media/platform/exynos/fimc-is/setup-fimc-is-sensor.c10
26 files changed, 474 insertions, 478 deletions
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-companion-dt.c b/drivers/media/platform/exynos/fimc-is/fimc-is-companion-dt.c
index b71d1d2675b8..e41bdb7ae920 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-companion-dt.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-companion-dt.c
@@ -55,49 +55,49 @@ int fimc_is_sensor_parse_dt_with_companion(struct platform_device *pdev)
ret = of_property_read_u32(dnode, "scenario", &pdata->scenario);
if (ret) {
- err("scenario read is fail(%d)", ret);
+ err("scenario read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "mclk_ch", &pdata->mclk_ch);
if (ret) {
- err("mclk_ch read is fail(%d)", ret);
+ err("mclk_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "csi_ch", &pdata->csi_ch);
if (ret) {
- err("csi_ch read is fail(%d)", ret);
+ err("csi_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "flite_ch", &pdata->flite_ch);
if (ret) {
- err("flite_ch read is fail(%d)", ret);
+ err("flite_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "i2c_ch", &pdata->i2c_ch);
if (ret) {
- err("i2c_ch read is fail(%d)", ret);
+ err("i2c_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "i2c_addr", &pdata->i2c_addr);
if (ret) {
- err("i2c_addr read is fail(%d)", ret);
+ err("i2c_addr read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "is_bns", &pdata->is_bns);
if (ret) {
- err("is_bns read is fail(%d)", ret);
+ err("is_bns read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "id", &id);
if (ret) {
- err("id read is fail(%d)", ret);
+ err("id read failed(%d)", ret);
goto p_err;
}
pdata->id = id;
@@ -107,14 +107,14 @@ int fimc_is_sensor_parse_dt_with_companion(struct platform_device *pdev)
ret = of_property_read_string(dnode, "sensor_name", &name);
if (ret) {
- err("sensor_name read is fail(%d)", ret);
+ err("sensor_name read failed(%d)", ret);
goto p_err;
}
strcpy(pdata->sensor_name, name);
ret = of_property_read_u32(dnode, "sensor_id", &pdata->sensor_id);
if (ret) {
- err("sensor_id read is fail(%d)", ret);
+ err("sensor_id read failed(%d)", ret);
goto p_err;
}
@@ -132,12 +132,12 @@ int fimc_is_sensor_parse_dt_with_companion(struct platform_device *pdev)
pdata->pinctrl = devm_pinctrl_get(dev);
if (IS_ERR(pdata->pinctrl)) {
- err("devm_pinctrl_get is fail");
+ err("devm_pinctrl_get failed");
goto p_err;
} else {
ret = get_pin_lookup_state(dev, pdata);
if (ret < 0) {
- err("fimc_is_get_pin_lookup_state is fail");
+ err("fimc_is_get_pin_lookup_state failed");
goto p_err;
}
}
@@ -176,13 +176,13 @@ int fimc_is_companion_parse_dt(struct platform_device *pdev)
ret = of_property_read_u32(dnode, "scenario", &pdata->scenario);
if (ret) {
- err("scenario read is fail(%d)", ret);
+ err("scenario read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "mclk_ch", &pdata->mclk_ch);
if (ret) {
- err("mclk_ch read is fail(%d)", ret);
+ err("mclk_ch read failed(%d)", ret);
goto p_err;
}
@@ -193,7 +193,7 @@ int fimc_is_companion_parse_dt(struct platform_device *pdev)
ret = of_property_read_u32(dnode, "sensor_id", &pdata->sensor_id);
if (ret) {
- err("sensor_id read is fail(%d)", ret);
+ err("sensor_id read failed(%d)", ret);
goto p_err;
}
@@ -205,12 +205,12 @@ int fimc_is_companion_parse_dt(struct platform_device *pdev)
pdata->pinctrl = devm_pinctrl_get(dev);
if (IS_ERR(pdata->pinctrl)) {
- err("devm_pinctrl_get is fail");
+ err("devm_pinctrl_get failed");
goto p_err;
} else {
ret = get_pin_lookup_state(dev, pdata);
if (ret < 0) {
- err("fimc_is_get_pin_lookup_state is fail");
+ err("fimc_is_get_pin_lookup_state failed");
goto p_err;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-companion.c b/drivers/media/platform/exynos/fimc-is/fimc-is-companion.c
index 6b7b457e2a7f..ff21ba7c0ddf 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-companion.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-companion.c
@@ -361,7 +361,7 @@ static int fimc_is_comp_check_crc32(struct fimc_is_core *core, char *name)
checksum = result_data << 16 | temp_data;
if (checksum != from_checksum) {
- err("[%s] CRC check is failed. Checksum = 0x%08x, FROM checksum = 0x%08x\n",
+ err("[%s] CRC check failed. Checksum = 0x%08x, FROM checksum = 0x%08x\n",
name, checksum, from_checksum);
return -EIO;
}
@@ -437,7 +437,7 @@ request_fw:
}
if (ret) {
- err("request_firmware is fail(ret:%d)", ret);
+ err("request_firmware failed: %d", ret);
ret = -EINVAL;
goto p_err;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-core.c b/drivers/media/platform/exynos/fimc-is/fimc-is-core.c
index d3cf95995320..d85cf6b4d2e1 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-core.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-core.c
@@ -921,7 +921,7 @@ static int fimc_is_probe(struct platform_device *pdev)
ret = fimc_is_mem_probe(&core->mem, core->pdev);
if (ret) {
- err("fimc_is_mem_probe is fail(%d)", ret);
+ err("fimc_is_mem_probe failed(%d)", ret);
goto p_err3;
}
@@ -938,7 +938,7 @@ static int fimc_is_probe(struct platform_device *pdev)
#if defined(CONFIG_CAMERA_SENSOR_6D1_OBJ)
ret = sensor_6d1_probe(NULL, NULL);
if (ret) {
- err("sensor_6d1_probe is fail(%d)", ret);
+ err("sensor_6d1_probe failed(%d)", ret);
goto p_err3;
}
#endif
@@ -946,7 +946,7 @@ static int fimc_is_probe(struct platform_device *pdev)
#if defined(CONFIG_CAMERA_SENSOR_IMX240_OBJ)
ret = sensor_imx240_probe(NULL, NULL);
if (ret) {
- err("sensor_imx175_probe is fail(%d)", ret);
+ err("sensor_imx175_probe failed(%d)", ret);
goto p_err3;
}
#endif
@@ -1026,7 +1026,7 @@ static int fimc_is_probe(struct platform_device *pdev)
ret = fimc_is_ishcain_initmem(core);
if (ret) {
- err("fimc_is_ishcain_initmem is fail(%d)", ret);
+ err("fimc_is_ishcain_initmem failed(%d)", ret);
goto p_err4;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-device-companion.c b/drivers/media/platform/exynos/fimc-is/fimc-is-device-companion.c
index 12d7219f2c65..131024573f6f 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-device-companion.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-device-companion.c
@@ -87,7 +87,7 @@ static int fimc_is_companion_mclk_on(struct fimc_is_device_companion *device)
ret = pdata->mclk_on(pdev, pdata->scenario, pdata->mclk_ch);
if (ret) {
- err("mclk_on is fail(%d)", ret);
+ err("mclk_on failed(%d)", ret);
goto p_err;
}
@@ -123,7 +123,7 @@ static int fimc_is_companion_mclk_off(struct fimc_is_device_companion *device)
ret = pdata->mclk_off(pdev, pdata->scenario, pdata->mclk_ch);
if (ret) {
- err("mclk_off is fail(%d)", ret);
+ err("mclk_off failed(%d)", ret);
goto p_err;
}
@@ -165,13 +165,13 @@ static int fimc_is_companion_iclk_on(struct fimc_is_device_companion *device)
ret = pdata->iclk_cfg(pdev, pdata->scenario, 0);
if (ret) {
- err("iclk_cfg is fail(%d)", ret);
+ err("iclk_cfg failed(%d)", ret);
goto p_err;
}
ret = pdata->iclk_on(pdev, pdata->scenario, 0);
if (ret) {
- err("iclk_on is fail(%d)", ret);
+ err("iclk_on failed(%d)", ret);
goto p_err;
}
@@ -207,7 +207,7 @@ static int fimc_is_companion_iclk_off(struct fimc_is_device_companion *device)
ret = pdata->iclk_off(pdev, pdata->scenario, 0);
if (ret) {
- err("iclk_off is fail(%d)", ret);
+ err("iclk_off failed(%d)", ret);
goto p_err;
}
@@ -271,7 +271,7 @@ static int fimc_is_companion_gpio_on(struct fimc_is_device_companion *device)
ret = pdata->gpio_cfg(device->pdev, pdata->scenario, GPIO_SCENARIO_ON);
if (ret) {
- err("gpio_cfg is fail(%d)", ret);
+ err("gpio_cfg failed(%d)", ret);
goto p_err;
}
@@ -306,7 +306,7 @@ static int fimc_is_companion_gpio_off(struct fimc_is_device_companion *device)
ret = pdata->gpio_cfg(device->pdev, pdata->scenario, GPIO_SCENARIO_OFF);
if (ret) {
- err("gpio_cfg is fail(%d)", ret);
+ err("gpio_cfg failed(%d)", ret);
goto p_err;
}
@@ -478,7 +478,7 @@ static int fimc_is_companion_probe(struct platform_device *pdev)
ret = fimc_is_companion_parse_dt(pdev);
if (ret) {
- err("parsing device tree is fail(%d)", ret);
+ err("parsing device tree failed(%d)", ret);
goto p_err;
}
@@ -506,13 +506,13 @@ static int fimc_is_companion_probe(struct platform_device *pdev)
ret = v4l2_device_register(&pdev->dev, &device->v4l2_dev);
if (ret) {
- err("v4l2_device_register is fail(%d)", ret);
+ err("v4l2_device_register failed(%d)", ret);
goto p_err;
}
ret = fimc_is_comp_video_probe(device);
if (ret) {
- err("fimc_is_companion_video_probe is fail(%d)", ret);
+ err("fimc_is_companion_video_probe failed(%d)", ret);
goto p_err;
}
@@ -578,21 +578,21 @@ int fimc_is_companion_runtime_suspend(struct device *dev)
/* gpio uninit */
ret = fimc_is_companion_gpio_off(device);
if (ret) {
- err("fimc_is_companion_gpio_off is fail(%d)", ret);
+ err("fimc_is_companion_gpio_off failed(%d)", ret);
goto p_err;
}
/* periperal internal clock off */
ret = fimc_is_companion_iclk_off(device);
if (ret) {
- err("fimc_is_companion_iclk_off is fail(%d)", ret);
+ err("fimc_is_companion_iclk_off failed(%d)", ret);
goto p_err;
}
/* companion clock off */
ret = fimc_is_companion_mclk_off(device);
if (ret) {
- err("fimc_is_companion_mclk_off is fail(%d)", ret);
+ err("fimc_is_companion_mclk_off failed(%d)", ret);
goto p_err;
}
@@ -623,21 +623,21 @@ int fimc_is_companion_runtime_resume(struct device *dev)
/* Sensor clock on */
ret = fimc_is_companion_mclk_on(device);
if (ret) {
- err("fimc_is_companion_mclk_on is fail(%d)", ret);
+ err("fimc_is_companion_mclk_on failed(%d)", ret);
goto p_err;
}
/* gpio init */
ret = fimc_is_companion_gpio_on(device);
if (ret) {
- err("fimc_is_companion_gpio_on is fail(%d)", ret);
+ err("fimc_is_companion_gpio_on failed(%d)", ret);
goto p_err;
}
/* periperal internal clock on */
ret = fimc_is_companion_iclk_on(device);
if (ret) {
- err("fimc_is_companion_iclk_on is fail(%d)", ret);
+ err("fimc_is_companion_iclk_on failed(%d)", ret);
goto p_err;
}
p_err:
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-device-csi.c b/drivers/media/platform/exynos/fimc-is/fimc-is-device-csi.c
index 7ef4e5b75d40..afad82668011 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-device-csi.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-device-csi.c
@@ -25,6 +25,7 @@
#include "fimc-is-device-csi.h"
#include "fimc-is-device-sensor.h"
#include "fimc-is-core.h"
+
static u32 get_hsync_settle(struct fimc_is_sensor_cfg *cfg,
const u32 cfgs, u32 width, u32 height, u32 framerate)
{
@@ -239,13 +240,13 @@ static int csi_s_stream(struct v4l2_subdev *subdev, int enable)
if (enable) {
ret = csi_stream_on(csi);
if (ret) {
- err("csi_stream_on is fail(%d)", ret);
+ err("csi_stream_on failed(%d)", ret);
goto p_err;
}
} else {
ret = csi_stream_off(csi);
if (ret) {
- err("csi_stream_off is fail(%d)", ret);
+ err("csi_stream_off failed(%d)", ret);
goto p_err;
}
}
@@ -378,7 +379,7 @@ int fimc_is_csi_probe(void *parent, u32 instance)
snprintf(subdev_csi->name, V4L2_SUBDEV_NAME_SIZE, "csi-subdev.%d", instance);
ret = v4l2_device_register_subdev(&device->v4l2_dev, subdev_csi);
if (ret) {
- merr("v4l2_device_register_subdev is fail(%d)", device, ret);
+ merr("v4l2_device_register_subdev failed(%d)", device, ret);
goto p_err_free2;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-device-flite.c b/drivers/media/platform/exynos/fimc-is/fimc-is-device-flite.c
index 7346262ae7cb..ca45acb8087d 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-device-flite.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-device-flite.c
@@ -1758,13 +1758,13 @@ static int flite_s_stream(struct v4l2_subdev *subdev, int enable)
if (enable) {
ret = flite_stream_on(subdev, flite);
if (ret) {
- err("flite_stream_on is fail(%d)", ret);
+ err("flite_stream_on failed(%d)", ret);
goto p_err;
}
} else {
ret = flite_stream_off(subdev, flite, nowait);
if (ret) {
- err("flite_stream_off is fail(%d)", ret);
+ err("flite_stream_off failed(%d)", ret);
goto p_err;
}
}
@@ -1900,7 +1900,7 @@ int fimc_is_flite_probe(struct fimc_is_device_sensor *device,
snprintf(subdev_flite->name, V4L2_SUBDEV_NAME_SIZE, "flite-subdev.%d", instance);
ret = v4l2_device_register_subdev(&device->v4l2_dev, subdev_flite);
if (ret) {
- merr("v4l2_device_register_subdev is fail(%d)", device, ret);
+ merr("v4l2_device_register_subdev failed(%d)", device, ret);
goto err_reg_v4l2_subdev;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-device-ischain.c b/drivers/media/platform/exynos/fimc-is/fimc-is-device-ischain.c
index 3d4cde9a2108..3742c45161de 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-device-ischain.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-device-ischain.c
@@ -853,7 +853,7 @@ request_fw:
}
if (ret) {
- err("request_firmware is fail(%d)", ret);
+ err("request_firmware failed(%d)", ret);
ret = -EINVAL;
goto out;
}
@@ -898,7 +898,7 @@ out:
}
}
if (ret)
- err("firmware loading is fail");
+ err("firmware loading failed");
else
info("Camera: the %s FW were applied successfully.\n",
((cam_id == CAMERA_SINGLE_REAR) &&
@@ -1046,13 +1046,13 @@ request_fw:
ret = request_firmware((const struct firmware **)&fw_blob,
setfile_name, &device->pdev->dev);
while (--retry && ret) {
- mwarn("request_firmware is fail(%d)", device, ret);
+ mwarn("request_firmware failed(%d)", device, ret);
ret = request_firmware((const struct firmware **)&fw_blob,
setfile_name, &device->pdev->dev);
}
if (!retry) {
- merr("request_firmware is fail(%d)", device, ret);
+ merr("request_firmware failed(%d)", device, ret);
ret = -EINVAL;
goto out;
}
@@ -1099,7 +1099,7 @@ out:
}
if (ret)
- err("setfile loading is fail");
+ err("setfile loading failed");
else
info("Camera: the %s Setfile were applied successfully.\n",
((cam_id == CAMERA_SINGLE_REAR) &&
@@ -1150,7 +1150,7 @@ static int fimc_is_ischain_loadcalb(struct fimc_is_device_ischain *device,
fimc_is_ischain_cache_flush(device, FIMC_IS_CAL_START_ADDR,
FIMC_IS_MAX_CAL_SIZE);
if (ret)
- mwarn("calibration loading is fail", device);
+ mwarn("calibration loading failed", device);
else
mwarn("calibration loading is success", device);
return ret;
@@ -1297,7 +1297,7 @@ int fimc_is_ischain_power(struct fimc_is_device_ischain *device, int on)
exynos_smc_readsfr(PA_FIMC_IS_GIC_C + 0x4, &debug);
info("%s : PA_FIMC_IS_GIC_C : 0x%08x\n", __func__, debug);
if (debug == 0x00)
- merr("secure configuration is fail[0x131E0004:%08X]", device, debug);
+ merr("secure configuration failed[0x131E0004:%08X]", device, debug);
/* To guarantee FW restart */
regmap_read(core->pmu_regmap, PMUREG_ISP_ARM_STATUS, &val);
@@ -1357,7 +1357,7 @@ static int fimc_is_itf_s_param(struct fimc_is_device_ischain *device,
if (frame) {
if (!test_bit(FIMC_IS_ISHCAIN_START, &device->state)) {
- merr("s_param is fail, device already is stopped", device);
+ merr("s_param failed, device already is stopped", device);
BUG();
}
@@ -1390,7 +1390,7 @@ static int fimc_is_itf_s_param(struct fimc_is_device_ischain *device,
* this check code is commented until per-frame control is worked fully
*
* if ( test_bit(FIMC_IS_ISHCAIN_START, &device->state)) {
- * merr("s_param is fail, device already is started", device);
+ * merr("s_param failed, device already is started", device);
* BUG();
* }
*/
@@ -1419,7 +1419,7 @@ static void * fimc_is_itf_g_param(struct fimc_is_device_ischain *device,
if (frame) {
if (!test_bit(FIMC_IS_ISHCAIN_START, &device->state)) {
- merr("s_param is fail, device already is stopped", device);
+ merr("s_param failed, device already is stopped", device);
BUG();
}
@@ -1731,7 +1731,7 @@ static int fimc_is_itf_enum(struct fimc_is_device_ischain *device)
ret = fimc_is_hw_enum(device->interface);
if (ret) {
- merr("fimc_is_itf_enum is fail(%d)", device, ret);
+ merr("fimc_is_itf_enum failed(%d)", device, ret);
CALL_POPS(device, print_pwr, device->pdev);
CALL_POPS(device, print_clk, device->pdev);
}
@@ -1771,7 +1771,7 @@ static int fimc_is_itf_open(struct fimc_is_device_ischain *device,
&device->margin_width,
&device->margin_height);
if (ret) {
- merr("fimc_is_hw_open is fail", device);
+ merr("fimc_is_hw_open failed", device);
CALL_POPS(device, print_cfg, device->pdev,
fimc_is_sensor_g_instance(device->sensor));
ret = -EINVAL;
@@ -1835,7 +1835,7 @@ static int fimc_is_itf_close(struct fimc_is_device_ischain *device)
ret = fimc_is_hw_close(itf, device->instance);
if (ret) {
- merr("fimc_is_hw_close is fail", device);
+ merr("fimc_is_hw_close failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -1861,7 +1861,7 @@ static int fimc_is_itf_setfile(struct fimc_is_device_ischain *device,
ret = fimc_is_hw_saddr(itf, device->instance, &setfile_addr);
if (ret) {
- merr("fimc_is_hw_saddr is fail(%d)", device, ret);
+ merr("fimc_is_hw_saddr failed(%d)", device, ret);
goto p_err;
}
@@ -1878,13 +1878,13 @@ static int fimc_is_itf_setfile(struct fimc_is_device_ischain *device,
ret = fimc_is_ischain_loadsetf(device, setfile_addr, setfile_name);
if (ret) {
- merr("fimc_is_ischain_loadsetf is fail(%d)", device, ret);
+ merr("fimc_is_ischain_loadsetf failed(%d)", device, ret);
goto p_err;
}
ret = fimc_is_hw_setfile(itf, device->instance);
if (ret) {
- merr("fimc_is_hw_setfile is fail(%d)", device, ret);
+ merr("fimc_is_hw_setfile failed(%d)", device, ret);
goto p_err;
}
@@ -1903,7 +1903,7 @@ int fimc_is_itf_map(struct fimc_is_device_ischain *device,
ret = fimc_is_hw_map(device->interface, device->instance, group, shot_addr, shot_size);
if (ret)
- merr("fimc_is_hw_map is fail(%d)", device, ret);
+ merr("fimc_is_hw_map failed(%d)", device, ret);
return ret;
}
@@ -1923,7 +1923,7 @@ static int fimc_is_itf_unmap(struct fimc_is_device_ischain *device,
ret = fimc_is_hw_unmap(device->interface, device->instance, group);
if (ret)
- merr("fimc_is_hw_unmap is fail(%d)", device, ret);
+ merr("fimc_is_hw_unmap failed(%d)", device, ret);
return ret;
}
@@ -1970,7 +1970,7 @@ int fimc_is_itf_stream_on(struct fimc_is_device_ischain *device)
ret = fimc_is_hw_stream_on(device->interface, device->instance);
if (ret) {
- merr("fimc_is_hw_stream_on is fail(%d)", device, ret);
+ merr("fimc_is_hw_stream_on failed(%d)", device, ret);
CALL_POPS(device, print_clk, device->pdev);
}
@@ -2424,7 +2424,7 @@ int fimc_is_ischain_open(struct fimc_is_device_ischain *device,
/* 1. init memory */
ret = fimc_is_ishcain_initmem(device);
if (ret) {
- err("fimc_is_ishcain_initmem is fail(%d)\n", ret);
+ err("fimc_is_ishcain_initmem failed(%d)\n", ret);
goto p_err;
}
}
@@ -2510,7 +2510,7 @@ int fimc_is_ischain_open(struct fimc_is_device_ischain *device,
/* for mediaserver force close */
ret = fimc_is_resource_get(device->resourcemgr, RESOURCE_TYPE_ISCHAIN);
if (ret) {
- merr("fimc_is_resource_get is fail", device);
+ merr("fimc_is_resource_get failed", device);
goto p_err;
}
@@ -2556,12 +2556,12 @@ int fimc_is_ischain_close(struct fimc_is_device_ischain *device,
/* 1. Stop all request */
ret = fimc_is_ischain_isp_stop(device, leader, queue);
if (ret)
- merr("fimc_is_ischain_isp_stop is fail", device);
+ merr("fimc_is_ischain_isp_stop failed", device);
/* group close */
ret = fimc_is_group_close(groupmgr, group);
if (ret)
- merr("fimc_is_group_close is fail", device);
+ merr("fimc_is_group_close failed", device);
/* subdev close */
fimc_is_subdev_close(&device->drc);
@@ -2573,7 +2573,7 @@ int fimc_is_ischain_close(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_ISCHAIN_OPEN_SENSOR, &device->state)) {
ret = fimc_is_itf_close(device);
if (ret)
- merr("fimc_is_itf_close is fail", device);
+ merr("fimc_is_itf_close failed", device);
if(device->sensor->pdata->is_softlanding)
fimc_is_sensor_gpio_off_softlanding(device->sensor);
@@ -2582,7 +2582,7 @@ int fimc_is_ischain_close(struct fimc_is_device_ischain *device,
/* for mediaserver force close */
ret = fimc_is_resource_put(device->resourcemgr, RESOURCE_TYPE_ISCHAIN);
if (ret) {
- merr("fimc_is_resource_put is fail", device);
+ merr("fimc_is_resource_put failed", device);
goto exit;
}
@@ -2629,7 +2629,7 @@ static int fimc_is_ischain_init(struct fimc_is_device_ischain *device,
ret = fimc_is_sensor_g_module(sensor, &module);
if (ret) {
- merr("fimc_is_sensor_g_module is fail(%d)", device, ret);
+ merr("fimc_is_sensor_g_module failed(%d)", device, ret);
goto p_err;
}
if (module->id != module_id) {
@@ -2695,7 +2695,7 @@ static int fimc_is_ischain_init(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_init_process_stop(device);
if (ret) {
- merr("fimc_is_itf_init_process_stop is fail", device);
+ merr("fimc_is_itf_init_process_stop failed", device);
goto p_err;
}
@@ -2782,7 +2782,7 @@ int fimc_is_ischain_init_wrap(struct fimc_is_device_ischain *device,
/* 5. init ischain */
ret = fimc_is_ischain_init(device, module, group_id, tax_vindex, flag);
if (ret)
- merr("fimc_is_device_init(%d, %d, %d) is fail", device, module, group_id, rep_stream);
+ merr("fimc_is_device_init(%d, %d, %d) failed", device, module, group_id, rep_stream);
p_err:
return ret;
@@ -3620,7 +3620,7 @@ static int fimc_is_ischain_chg_setfile(struct fimc_is_device_ischain *device,
group_isp = &device->group_isp;
if (group_isp->smp_shot.count < 1) {
- mwarn("group%d is working(%d), setfile change is fail",
+ mwarn("group%d is working(%d), setfile change failed",
device, group_isp->id, group_isp->smp_shot.count);
goto p_err;
}
@@ -3649,7 +3649,7 @@ static int fimc_is_ischain_chg_setfile(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_a_param(device, group_id);
if (ret) {
- merr("fimc_is_itf_a_param is fail", device);
+ merr("fimc_is_itf_a_param failed", device);
device->setfile = save_setfile;
ret = -EINVAL;
goto p_err;
@@ -3849,7 +3849,7 @@ static int fimc_is_ischain_s_dzoom(struct fimc_is_device_ischain *this,
ret = fimc_is_itf_s_param(this, indexes, lindex, hindex);
if (ret) {
- err("fimc_is_itf_s_param is fail\n");
+ err("fimc_is_itf_s_param failed\n");
ret = -EINVAL;
goto exit;
}
@@ -3896,7 +3896,7 @@ static int fimc_is_ischain_drc_bypass(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_process_stop(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_stop is fail", device);
+ merr("fimc_is_itf_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -3914,20 +3914,20 @@ static int fimc_is_ischain_drc_bypass(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_s_param(device, NULL, lindex, hindex, indexes);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, frame, ret);
goto p_err;
}
ret = fimc_is_itf_a_param(device, group_id);
if (ret) {
- merr("fimc_is_itf_a_param is fail", device);
+ merr("fimc_is_itf_a_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_process_start(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_start is fail", device);
+ merr("fimc_is_itf_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -3966,7 +3966,7 @@ static int fimc_is_ischain_dnr_bypass(struct fimc_is_device_ischain *device,
frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, frame, lindex, hindex, indexes);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, frame, ret);
goto p_err;
}
@@ -4015,7 +4015,7 @@ static int fimc_is_ischain_fd_bypass(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_process_stop(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_stop is fail", device);
+ merr("fimc_is_itf_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -4040,14 +4040,14 @@ static int fimc_is_ischain_fd_bypass(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_s_param(device, NULL, lindex, hindex, indexes);
if (ret) {
- merr("fimc_is_itf_s_param is fail", device);
+ merr("fimc_is_itf_s_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_process_start(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_start is fail", device);
+ merr("fimc_is_itf_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -4088,7 +4088,7 @@ int fimc_is_ischain_3aa_open(struct fimc_is_device_ischain *device,
device,
fimc_is_ischain_3aa_callback);
if (ret)
- merr("fimc_is_group_open is fail", device);
+ merr("fimc_is_group_open failed", device);
return ret;
}
@@ -4111,11 +4111,11 @@ int fimc_is_ischain_3aa_close(struct fimc_is_device_ischain *device,
ret = fimc_is_ischain_3aa_stop(device, leader, queue);
if (ret)
- merr("fimc_is_ischain_3aa_stop is fail", device);
+ merr("fimc_is_ischain_3aa_stop failed", device);
ret = fimc_is_group_close(groupmgr, group);
if (ret)
- merr("fimc_is_group_close is fail", device);
+ merr("fimc_is_group_close failed", device);
return ret;
}
@@ -4142,7 +4142,7 @@ int fimc_is_ischain_3aa_start(struct fimc_is_device_ischain *device,
ret = fimc_is_group_process_start(groupmgr, group, queue);
if (ret) {
- merr("fimc_is_group_process_start is fail", device);
+ merr("fimc_is_group_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -4174,7 +4174,7 @@ int fimc_is_ischain_3aa_stop(struct fimc_is_device_ischain *device,
ret = fimc_is_group_process_stop(groupmgr, group, queue);
if (ret) {
- merr("fimc_is_group_process_stop is fail", device);
+ merr("fimc_is_group_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -4200,7 +4200,7 @@ int fimc_is_ischain_3aa_reqbufs(struct fimc_is_device_ischain *device,
if (!count) {
ret = fimc_is_itf_unmap(device, GROUP_ID(group->id));
if (ret)
- merr("fimc_is_itf_unmap is fail(%d)", device, ret);
+ merr("fimc_is_itf_unmap failed(%d)", device, ret);
}
return ret;
@@ -4242,7 +4242,7 @@ int fimc_is_ischain_3aa_s_input(struct fimc_is_device_ischain *device,
ret = fimc_is_group_init(groupmgr, group, otf_input, 0);
if (ret) {
- merr("fimc_is_group_init is fail", device);
+ merr("fimc_is_group_init failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -4271,7 +4271,7 @@ int fimc_is_ischain_3aa_buffer_queue(struct fimc_is_device_ischain *device,
ret = fimc_is_group_buffer_queue(groupmgr, group, queue, index);
if (ret)
- merr("fimc_is_group_buffer_queue is fail(%d)", device, ret);
+ merr("fimc_is_group_buffer_queue failed(%d)", device, ret);
return ret;
}
@@ -4294,7 +4294,7 @@ int fimc_is_ischain_3aa_buffer_finish(struct fimc_is_device_ischain *device,
ret = fimc_is_group_buffer_finish(groupmgr, group, index);
if (ret)
- merr("fimc_is_group_buffer_finish is fail(%d)", device, ret);
+ merr("fimc_is_group_buffer_finish failed(%d)", device, ret);
return ret;
}
@@ -4371,7 +4371,7 @@ int fimc_is_ischain_3aa_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_3aa_size is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aa_size failed(%d)", device, ret);
goto p_err;
}
mrdbg("[3AA] in_crop[%d, %d, %d, %d]\n", device, ldr_frame,
@@ -4403,7 +4403,7 @@ int fimc_is_ischain_3aa_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_3aa_size is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aa_size failed(%d)", device, ret);
goto p_err;
}
@@ -4416,7 +4416,7 @@ int fimc_is_ischain_3aa_tag(struct fimc_is_device_ischain *device,
ldr_frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, ldr_frame, lindex, hindex, 0);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, ldr_frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, ldr_frame, ret);
goto p_err;
}
@@ -4606,7 +4606,7 @@ static int fimc_is_ischain_3aap_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_3aap_start is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aap_start failed(%d)", device, ret);
goto p_err;
}
@@ -4634,7 +4634,7 @@ static int fimc_is_ischain_3aap_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_3aap_stop is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aap_stop failed(%d)", device, ret);
goto p_err;
}
@@ -4652,7 +4652,7 @@ static int fimc_is_ischain_3aap_tag(struct fimc_is_device_ischain *device,
ldr_frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, ldr_frame, lindex, hindex, 0);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, ldr_frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, ldr_frame, ret);
goto p_err;
}
@@ -4796,7 +4796,7 @@ static int fimc_is_ischain_3aac_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_3aac_start is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aac_start failed(%d)", device, ret);
goto p_err;
}
@@ -4824,7 +4824,7 @@ static int fimc_is_ischain_3aac_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_3aac_stop is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aac_stop failed(%d)", device, ret);
goto p_err;
}
@@ -4841,7 +4841,7 @@ static int fimc_is_ischain_3aac_tag(struct fimc_is_device_ischain *device,
ldr_frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, ldr_frame, lindex, hindex, 0);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, ldr_frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, ldr_frame, ret);
goto p_err;
}
@@ -5048,21 +5048,21 @@ int fimc_is_ischain_isp_start(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_s_param(device , NULL, lindex, hindex, indexes);
if (ret) {
- merr("fimc_is_itf_s_param is fail", device);
+ merr("fimc_is_itf_s_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_f_param(device);
if (ret) {
- merr("fimc_is_itf_f_param is fail", device);
+ merr("fimc_is_itf_f_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_sys_ctl(device, IS_SYS_CLOCK_GATE, sysfs_debug.clk_gate_mode);
if (ret) {
- merr("fimc_is_itf_sys_ctl is fail", device);
+ merr("fimc_is_itf_sys_ctl failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -5071,7 +5071,7 @@ int fimc_is_ischain_isp_start(struct fimc_is_device_ischain *device,
* this code is enabled when camera 2.0 feature is enabled
* ret = fimc_is_itf_g_capability(device);
* if (ret) {
- * err("fimc_is_itf_g_capability is fail\n");
+ * err("fimc_is_itf_g_capability failed\n");
* ret = -EINVAL;
* goto p_err;
*}
@@ -5079,14 +5079,14 @@ int fimc_is_ischain_isp_start(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_init_process_start(device);
if (ret) {
- merr("fimc_is_itf_init_process_start is fail", device);
+ merr("fimc_is_itf_init_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_group_process_start(groupmgr, group, queue);
if (ret) {
- merr("fimc_is_group_process_start is fail", device);
+ merr("fimc_is_group_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -5123,7 +5123,7 @@ int fimc_is_ischain_isp_stop(struct fimc_is_device_ischain *device,
ret = fimc_is_group_process_stop(groupmgr, group, queue);
if (ret) {
- merr("fimc_is_group_process_stop is fail", device);
+ merr("fimc_is_group_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -5150,7 +5150,7 @@ int fimc_is_ischain_isp_reqbufs(struct fimc_is_device_ischain *device,
if (!count) {
ret = fimc_is_itf_unmap(device, GROUP_ID(group->id));
if (ret)
- merr("fimc_is_itf_unmap is fail(%d)", device, ret);
+ merr("fimc_is_itf_unmap failed(%d)", device, ret);
}
return ret;
@@ -5206,7 +5206,7 @@ int fimc_is_ischain_isp_s_input(struct fimc_is_device_ischain *device,
ret = fimc_is_group_init(groupmgr, group, false, tax_vindex);
if (ret) {
- merr("fimc_is_group_init is fail", device);
+ merr("fimc_is_group_init failed", device);
ret = -EINVAL;
}
@@ -5254,7 +5254,7 @@ int fimc_is_ischain_isp_buffer_queue(struct fimc_is_device_ischain *device,
ret = fimc_is_group_buffer_queue(groupmgr, group, queue, index);
if (ret) {
- merr("fimc_is_group_buffer_queue is fail(%d)", device, ret);
+ merr("fimc_is_group_buffer_queue failed(%d)", device, ret);
goto p_err;
}
@@ -5280,7 +5280,7 @@ int fimc_is_ischain_isp_buffer_finish(struct fimc_is_device_ischain *device,
ret = fimc_is_group_buffer_finish(groupmgr, group, index);
if (ret)
- merr("fimc_is_group_buffer_finish is fail(%d)", device, ret);
+ merr("fimc_is_group_buffer_finish failed(%d)", device, ret);
return ret;
}
@@ -5337,7 +5337,7 @@ int fimc_is_ischain_isp_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_s_chain0_size is fail(%d)", device, ret);
+ merr("fimc_is_ischain_s_chain0_size failed(%d)", device, ret);
goto p_err;
}
@@ -5369,7 +5369,7 @@ int fimc_is_ischain_isp_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_s_chain0_size is fail(%d)", device, ret);
+ merr("fimc_is_ischain_s_chain0_size failed(%d)", device, ret);
goto p_err;
}
@@ -5382,7 +5382,7 @@ int fimc_is_ischain_isp_tag(struct fimc_is_device_ischain *device,
ldr_frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, ldr_frame, lindex, hindex, 0);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, ldr_frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, ldr_frame, ret);
goto p_err;
}
@@ -5710,7 +5710,7 @@ static int fimc_is_ischain_scc_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_scc_start is fail(%d)", device, ret);
+ merr("fimc_is_ischain_scc_start failed(%d)", device, ret);
goto p_err;
}
@@ -5755,7 +5755,7 @@ static int fimc_is_ischain_scc_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_scc_stop is fail(%d)", device, ret);
+ merr("fimc_is_ischain_scc_stop failed(%d)", device, ret);
goto p_err;
}
@@ -5772,7 +5772,7 @@ static int fimc_is_ischain_scc_tag(struct fimc_is_device_ischain *device,
ldr_frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, ldr_frame, lindex, hindex, 0);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, ldr_frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, ldr_frame, ret);
goto p_err;
}
@@ -6054,7 +6054,7 @@ static int fimc_is_ischain_scp_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_s_chain2_size is fail(%d)", device, ret);
+ merr("fimc_is_ischain_s_chain2_size failed(%d)", device, ret);
goto p_err;
}
@@ -6066,7 +6066,7 @@ static int fimc_is_ischain_scp_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_s_chain3_size is fail(%d)", device, ret);
+ merr("fimc_is_ischain_s_chain3_size failed(%d)", device, ret);
goto p_err;
}
mrinfo("[SCPX] xx_crop[%d, %d, %d, %d]\n", device, ldr_frame,
@@ -6084,7 +6084,7 @@ static int fimc_is_ischain_scp_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_scp_start is fail(%d)", device, ret);
+ merr("fimc_is_ischain_scp_start failed(%d)", device, ret);
goto p_err;
}
@@ -6115,7 +6115,7 @@ static int fimc_is_ischain_scp_tag(struct fimc_is_device_ischain *device,
&hindex,
&indexes);
if (ret) {
- merr("fimc_is_ischain_scp_stop is fail(%d)", device, ret);
+ merr("fimc_is_ischain_scp_stop failed(%d)", device, ret);
goto p_err;
}
@@ -6132,7 +6132,7 @@ static int fimc_is_ischain_scp_tag(struct fimc_is_device_ischain *device,
ldr_frame->shot->ctl.entry.highIndexParam |= hindex;
ret = fimc_is_itf_s_param(device, ldr_frame, lindex, hindex, 0);
if (ret) {
- mrerr("fimc_is_itf_s_param is fail(%d)", device, ldr_frame, ret);
+ mrerr("fimc_is_itf_s_param failed(%d)", device, ldr_frame, ret);
goto p_err;
}
@@ -6170,14 +6170,14 @@ int fimc_is_ischain_dis_start(struct fimc_is_device_ischain *device,
ret = fimc_is_group_init(groupmgr, group, false, 0);
if (ret) {
- merr("fimc_is_group_init is fail", device);
+ merr("fimc_is_group_init failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_process_stop(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_stop is fail", device);
+ merr("fimc_is_itf_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6194,21 +6194,21 @@ int fimc_is_ischain_dis_start(struct fimc_is_device_ischain *device,
ret = fimc_is_itf_s_param(device, NULL, lindex, hindex, indexes);
if (ret) {
- merr("fimc_is_itf_s_param is fail", device);
+ merr("fimc_is_itf_s_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_a_param(device, group_id);
if (ret) {
- merr("fimc_is_itf_a_param is fail", device);
+ merr("fimc_is_itf_a_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_process_start(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_start is fail", device);
+ merr("fimc_is_itf_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6242,7 +6242,7 @@ int fimc_is_ischain_dis_stop(struct fimc_is_device_ischain *device)
ret = fimc_is_itf_process_stop(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_stop is fail", device);
+ merr("fimc_is_itf_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6255,14 +6255,14 @@ int fimc_is_ischain_dis_stop(struct fimc_is_device_ischain *device)
ret = fimc_is_itf_s_param(device, NULL, lindex, hindex, indexes);
if (ret) {
- merr("fimc_is_itf_s_param is fail", device);
+ merr("fimc_is_itf_s_param failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_a_param(device, group_id);
if (ret) {
- merr("fimc_is_itf_a_param is fail", device);
+ merr("fimc_is_itf_a_param failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6270,7 +6270,7 @@ int fimc_is_ischain_dis_stop(struct fimc_is_device_ischain *device)
group_id = GROUP_ID(device->group_isp.id);
ret = fimc_is_itf_process_start(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_start is fail", device);
+ merr("fimc_is_itf_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6321,7 +6321,7 @@ int fimc_is_ischain_dis_tag(struct fimc_is_device_ischain *device,
ret = fimc_is_ischain_dis_start(device,
ldr_frame->shot_ext->dis_bypass);
if (ret) {
- merr("vdisc_start is fail", device);
+ merr("vdisc_start failed", device);
goto p_err;
}
}
@@ -6341,7 +6341,7 @@ int fimc_is_ischain_dis_tag(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_SUBDEV_START, &subdev->state)) {
ret = fimc_is_ischain_dis_stop(device);
if (ret) {
- merr("vdisc_stop is fail", device);
+ merr("vdisc_stop failed", device);
goto p_err;
}
}
@@ -6382,7 +6382,7 @@ int fimc_is_ischain_vdo_open(struct fimc_is_device_ischain *device,
ret = fimc_is_group_open(groupmgr, group, GROUP_ID_DIS,
device->instance, vctx, device, fimc_is_ischain_dis_callback);
if (ret)
- merr("fimc_is_group_open is fail", device);
+ merr("fimc_is_group_open failed", device);
return ret;
}
@@ -6405,11 +6405,11 @@ int fimc_is_ischain_vdo_close(struct fimc_is_device_ischain *device,
ret = fimc_is_ischain_vdo_stop(device, leader, queue);
if (ret)
- merr("fimc_is_ischain_vdo_stop is fail", device);
+ merr("fimc_is_ischain_vdo_stop failed", device);
ret = fimc_is_group_close(groupmgr, group);
if (ret)
- merr("fimc_is_group_close is fail", device);
+ merr("fimc_is_group_close failed", device);
return ret;
}
@@ -6437,7 +6437,7 @@ int fimc_is_ischain_vdo_start(struct fimc_is_device_ischain *device,
ret = fimc_is_group_process_start(groupmgr, group, queue);
if (ret) {
- merr("fimc_is_group_process_start is fail", device);
+ merr("fimc_is_group_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6470,14 +6470,14 @@ int fimc_is_ischain_vdo_stop(struct fimc_is_device_ischain *device,
ret = fimc_is_group_process_stop(groupmgr, group, queue);
if (ret) {
- merr("fimc_is_group_process_start is fail", device);
+ merr("fimc_is_group_process_start failed", device);
ret = -EINVAL;
goto p_err;
}
ret = fimc_is_itf_process_stop(device, GROUP_ID_DIS);
if (ret) {
- merr("fimc_is_itf_process_stop is fail", device);
+ merr("fimc_is_itf_process_stop failed", device);
ret = -EINVAL;
goto p_err;
}
@@ -6510,7 +6510,7 @@ int fimc_is_ischain_vdo_buffer_queue(struct fimc_is_device_ischain *device,
ret = fimc_is_group_buffer_queue(groupmgr, group, queue, index);
if (ret) {
- merr("fimc_is_group_buffer_queue is fail(%d)", device, ret);
+ merr("fimc_is_group_buffer_queue failed(%d)", device, ret);
goto p_err;
}
@@ -6536,7 +6536,7 @@ int fimc_is_ischain_vdo_buffer_finish(struct fimc_is_device_ischain *device,
ret = fimc_is_group_buffer_finish(groupmgr, group, index);
if (ret)
- merr("fimc_is_group_buffer_finish is fail(%d)", device, ret);
+ merr("fimc_is_group_buffer_finish failed(%d)", device, ret);
return ret;
}
@@ -6594,7 +6594,7 @@ int fimc_is_ischain_3aa_callback(struct fimc_is_device_ischain *device,
}
if (unlikely(frame != check_frame)) {
- merr("frame checking is fail(%p != %p)", device,
+ merr("frame checking failed(%p != %p)", device,
frame, check_frame);
ret = -EINVAL;
goto p_err;
@@ -6622,7 +6622,7 @@ int fimc_is_ischain_3aa_callback(struct fimc_is_device_ischain *device,
unsigned int setfile = frame->shot_ext->setfile;
ret = fimc_is_ischain_chg_setfile(device, setfile);
if (ret) {
- err("fimc_is_ischain_chg_setfile is fail");
+ err("fimc_is_ischain_chg_setfile failed");
goto p_err;
}
}
@@ -6652,7 +6652,7 @@ int fimc_is_ischain_3aa_callback(struct fimc_is_device_ischain *device,
ret = fimc_is_ischain_3aa_tag(device, leader, frame, leader_node);
if (ret) {
- merr("fimc_is_ischain_3aa_tag is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aa_tag failed(%d)", device, ret);
goto p_err;
}
@@ -6689,7 +6689,7 @@ int fimc_is_ischain_3aa_callback(struct fimc_is_device_ischain *device,
if (taac) {
ret = fimc_is_ischain_3aac_tag(device, taac, frame, node);
if (ret) {
- merr("fimc_is_ischain_3aac_tag is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aac_tag failed(%d)", device, ret);
goto p_err;
}
}
@@ -6697,7 +6697,7 @@ int fimc_is_ischain_3aa_callback(struct fimc_is_device_ischain *device,
if (taap) {
ret = fimc_is_ischain_3aap_tag(device, taap, frame, node);
if (ret) {
- merr("fimc_is_ischain_3aap_tag is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aap_tag failed(%d)", device, ret);
goto p_err;
}
}
@@ -6788,7 +6788,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
}
if (unlikely(frame != check_frame)) {
- merr("frame checking is fail(%p != %p)", device,
+ merr("frame checking failed(%p != %p)", device,
frame, check_frame);
ret = -EINVAL;
goto p_err;
@@ -6831,7 +6831,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
unsigned int setfile = frame->shot_ext->setfile;
ret = fimc_is_ischain_chg_setfile(device, setfile);
if (ret) {
- err("fimc_is_ischain_chg_setfile is fail");
+ err("fimc_is_ischain_chg_setfile failed");
goto p_err;
}
}
@@ -6843,7 +6843,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_SUBDEV_START, &device->drc.state)) {
ret = fimc_is_ischain_drc_bypass(device, frame, true);
if (ret) {
- err("fimc_is_ischain_drc_bypass(1) is fail");
+ err("fimc_is_ischain_drc_bypass(1) failed");
goto p_err;
}
}
@@ -6851,7 +6851,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (!test_bit(FIMC_IS_SUBDEV_START, &device->drc.state)) {
ret = fimc_is_ischain_drc_bypass(device, frame, false);
if (ret) {
- err("fimc_is_ischain_drc_bypass(0) is fail");
+ err("fimc_is_ischain_drc_bypass(0) failed");
goto p_err;
}
}
@@ -6864,7 +6864,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_SUBDEV_START, &dnr->state)) {
ret = fimc_is_ischain_dnr_bypass(device, frame, true);
if (ret) {
- merr("dnr_bypass(1) is fail", device);
+ merr("dnr_bypass(1) failed", device);
goto p_err;
}
}
@@ -6872,7 +6872,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (!test_bit(FIMC_IS_SUBDEV_START, &dnr->state)) {
ret = fimc_is_ischain_dnr_bypass(device, frame, false);
if (ret) {
- merr("dnr_bypass(0) is fail", device);
+ merr("dnr_bypass(0) failed", device);
goto p_err;
}
}
@@ -6886,7 +6886,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_SUBDEV_START, &fd->state)) {
ret = fimc_is_ischain_fd_bypass(device, true);
if (ret) {
- merr("fd_bypass(1) is fail", device);
+ merr("fd_bypass(1) failed", device);
goto p_err;
}
}
@@ -6894,7 +6894,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (!test_bit(FIMC_IS_SUBDEV_START, &fd->state)) {
ret = fimc_is_ischain_fd_bypass(device, false);
if (ret) {
- merr("fd_bypass(0) is fail", device);
+ merr("fd_bypass(0) failed", device);
goto p_err;
}
}
@@ -6911,7 +6911,7 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
frame->shot->ctl.scaler.cropRegion[1],
frame->shot->ctl.scaler.cropRegion[2]);
if (ret) {
- err("fimc_is_ischain_s_dzoom(%d, %d, %d) is fail",
+ err("fimc_is_ischain_s_dzoom(%d, %d, %d) failed",
frame->shot->ctl.scaler.cropRegion[0],
frame->shot->ctl.scaler.cropRegion[1],
frame->shot->ctl.scaler.cropRegion[2]);
@@ -6923,14 +6923,14 @@ int fimc_is_ischain_isp_callback(struct fimc_is_device_ischain *device,
if (!GET_FIMC_IS_NUM_OF_SUBIP2(device, 3a0)) {
ret = fimc_is_ischain_3aa_tag(device, leader, frame, leader_node);
if (ret) {
- merr("fimc_is_ischain_3aa_tag is fail(%d)", device, ret);
+ merr("fimc_is_ischain_3aa_tag failed(%d)", device, ret);
goto p_err;
}
}
ret = fimc_is_ischain_isp_tag(device, leader, frame, leader_node);
if (ret) {
- merr("fimc_is_ischain_isp_tag is fail(%d)", device, ret);
+ merr("fimc_is_ischain_isp_tag failed(%d)", device, ret);
goto p_err;
}
@@ -7056,7 +7056,7 @@ int fimc_is_ischain_dis_callback(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_SUBDEV_START, &dnr->state)) {
ret = fimc_is_ischain_dnr_bypass(device, frame, true);
if (ret) {
- merr("dnr_bypass(1) is fail", device);
+ merr("dnr_bypass(1) failed", device);
goto p_err;
}
}
@@ -7064,7 +7064,7 @@ int fimc_is_ischain_dis_callback(struct fimc_is_device_ischain *device,
if (!test_bit(FIMC_IS_SUBDEV_START, &dnr->state)) {
ret = fimc_is_ischain_dnr_bypass(device, frame, false);
if (ret) {
- merr("dnr_bypass(0) is fail", device);
+ merr("dnr_bypass(0) failed", device);
goto p_err;
}
}
@@ -7078,7 +7078,7 @@ int fimc_is_ischain_dis_callback(struct fimc_is_device_ischain *device,
if (test_bit(FIMC_IS_SUBDEV_START, &fd->state)) {
ret = fimc_is_ischain_fd_bypass(device, true);
if (ret) {
- merr("fd_bypass(1) is fail", device);
+ merr("fd_bypass(1) failed", device);
goto p_err;
}
}
@@ -7086,7 +7086,7 @@ int fimc_is_ischain_dis_callback(struct fimc_is_device_ischain *device,
if (!test_bit(FIMC_IS_SUBDEV_START, &fd->state)) {
ret = fimc_is_ischain_fd_bypass(device, false);
if (ret) {
- merr("fd_bypass(0) is fail", device);
+ merr("fd_bypass(0) failed", device);
goto p_err;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-device-ois.c b/drivers/media/platform/exynos/fimc-is/fimc-is-device-ois.c
index ca7de8665dce..896d10414fa7 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-device-ois.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-device-ois.c
@@ -266,7 +266,7 @@ int fimc_is_ois_gpio_on(struct fimc_is_device_companion *device)
ret = pdata->gpio_cfg(device->pdev, SENSOR_SCENARIO_OIS_FACTORY, GPIO_SCENARIO_ON);
if (ret) {
- err("gpio_cfg is fail(%d)", ret);
+ err("gpio_cfg failed(%d)", ret);
goto p_err;
}
@@ -293,7 +293,7 @@ int fimc_is_ois_gpio_off(struct fimc_is_device_companion *device)
ret = pdata->gpio_cfg(device->pdev, SENSOR_SCENARIO_OIS_FACTORY, GPIO_SCENARIO_OFF);
if (ret) {
- err("gpio_cfg is fail(%d)", ret);
+ err("gpio_cfg failed(%d)", ret);
goto p_err;
}
@@ -939,7 +939,7 @@ request_fw:
}
if (ret) {
- err("request_firmware is fail(ret:%d)", ret);
+ err("request_firmware failed(ret:%d)", ret);
ret = -EINVAL;
goto p_err;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-device-sensor.c b/drivers/media/platform/exynos/fimc-is/fimc-is-device-sensor.c
index 0e226f4510e4..1af755303b0d 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-device-sensor.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-device-sensor.c
@@ -177,7 +177,7 @@ static int fimc_is_sensor_mclk_on(struct fimc_is_device_sensor *device)
ret = pdata->mclk_on(device->pdev, pdata->scenario, pdata->mclk_ch);
if (ret) {
- merr("mclk_on is fail(%d)", device, ret);
+ merr("mclk_on failed(%d)", device, ret);
goto p_err;
}
@@ -211,7 +211,7 @@ static int fimc_is_sensor_mclk_off(struct fimc_is_device_sensor *device)
ret = pdata->mclk_off(device->pdev, pdata->scenario, pdata->mclk_ch);
if (ret) {
- merr("mclk_off is fail(%d)", device, ret);
+ merr("mclk_off failed(%d)", device, ret);
goto p_err;
}
@@ -254,13 +254,13 @@ static int fimc_is_sensor_iclk_on(struct fimc_is_device_sensor *device)
ret = pdata->iclk_cfg(core->pdev, pdata->scenario, pdata->csi_ch);
if (ret) {
- merr("iclk_cfg is fail(%d)", device, ret);
+ merr("iclk_cfg failed(%d)", device, ret);
goto p_err;
}
ret = pdata->iclk_on(core->pdev, pdata->scenario, pdata->csi_ch);
if (ret) {
- merr("iclk_on is fail(%d)", device, ret);
+ merr("iclk_on failed(%d)", device, ret);
goto p_err;
}
@@ -297,7 +297,7 @@ static int fimc_is_sensor_iclk_off(struct fimc_is_device_sensor *device)
ret = pdata->iclk_off(core->pdev, pdata->scenario, pdata->csi_ch);
if (ret) {
- merr("iclk_off is fail(%d)", device, ret);
+ merr("iclk_off failed(%d)", device, ret);
goto p_err;
}
@@ -338,7 +338,7 @@ static int fimc_is_sensor_gpio_on(struct fimc_is_device_sensor *device)
ret = pdata->gpio_cfg(device->pdev, pdata->scenario, GPIO_SCENARIO_ON);
if (ret) {
- merr("gpio_cfg is fail(%d)", device, ret);
+ merr("gpio_cfg failed(%d)", device, ret);
goto p_err;
}
@@ -373,7 +373,7 @@ static int fimc_is_sensor_gpio_off(struct fimc_is_device_sensor *device)
ret = pdata->gpio_cfg(device->pdev, pdata->scenario, GPIO_SCENARIO_OFF);
if (ret) {
- merr("gpio_cfg is fail(%d)", device, ret);
+ merr("gpio_cfg failed(%d)", device, ret);
goto p_err;
}
@@ -462,7 +462,7 @@ static int fimc_is_sensor_start(struct fimc_is_device_sensor *device)
}
ret = v4l2_subdev_call(subdev, video, s_stream, true);
if (ret) {
- merr("v4l2_subdev_call(s_stream) is fail(%d)", device, ret);
+ merr("v4l2_subdev_call(s_stream) failed(%d)", device, ret);
goto p_err;
}
} else {
@@ -477,7 +477,7 @@ static int fimc_is_sensor_start(struct fimc_is_device_sensor *device)
ret = fimc_is_itf_stream_on(ischain);
if (ret) {
- merr("fimc_is_itf_stream_on is fail(%d)", device, ret);
+ merr("fimc_is_itf_stream_on failed(%d)", device, ret);
goto p_err;
}
}
@@ -503,7 +503,7 @@ static int fimc_is_sensor_stop(struct fimc_is_device_sensor *device)
}
ret = v4l2_subdev_call(subdev, video, s_stream, false);
if (ret) {
- merr("v4l2_subdev_call(s_stream) is fail(%d)", device, ret);
+ merr("v4l2_subdev_call(s_stream) failed(%d)", device, ret);
goto p_err;
}
} else {
@@ -517,7 +517,7 @@ static int fimc_is_sensor_stop(struct fimc_is_device_sensor *device)
}
ret = fimc_is_itf_stream_off(ischain);
if (ret) {
- merr("fimc_is_itf_stream_off is fail(%d)", device, ret);
+ merr("fimc_is_itf_stream_off failed(%d)", device, ret);
goto p_err;
}
}
@@ -658,12 +658,12 @@ static void fimc_is_sensor_notify(struct v4l2_subdev *subdev,
case FLITE_NOTIFY_FSTART:
ret = fimc_is_sensor_notify_by_fstr(device, arg);
if (ret)
- merr("fimc_is_sensor_notify_by_fstr is fail(%d)", device, ret);
+ merr("fimc_is_sensor_notify_by_fstr failed(%d)", device, ret);
break;
case FLITE_NOTIFY_FEND:
ret = fimc_is_sensor_notify_by_fend(device, arg);
if (ret)
- merr("fimc_is_sensor_notify_by_fend is fail(%d)", device, ret);
+ merr("fimc_is_sensor_notify_by_fend failed(%d)", device, ret);
break;
}
}
@@ -684,7 +684,7 @@ static void fimc_is_sensor_instanton(struct work_struct *data)
ret = fimc_is_sensor_start(device);
if (ret) {
- merr("fimc_is_sensor_start is fail(%d)\n", device, ret);
+ merr("fimc_is_sensor_start failed(%d)\n", device, ret);
goto p_err;
}
set_bit(FIMC_IS_SENSOR_FRONT_START, &device->state);
@@ -747,7 +747,7 @@ static int fimc_is_sensor_probe(struct platform_device *pdev)
ret = fimc_is_sensor_parse_dt_with_companion(pdev);
if (ret) {
- err("parsing device tree is fail(%d)", ret);
+ err("parsing device tree failed(%d)", ret);
goto p_err;
}
@@ -795,7 +795,7 @@ static int fimc_is_sensor_probe(struct platform_device *pdev)
ret = fimc_is_mem_probe(&device->mem, core->pdev);
if (ret) {
- merr("fimc_is_mem_probe is fail(%d)", device, ret);
+ merr("fimc_is_mem_probe failed(%d)", device, ret);
goto p_err;
}
@@ -808,25 +808,25 @@ static int fimc_is_sensor_probe(struct platform_device *pdev)
ret = v4l2_device_register(&pdev->dev, &device->v4l2_dev);
if (ret) {
- merr("v4l2_device_register is fail(%d)", device, ret);
+ merr("v4l2_device_register failed(%d)", device, ret);
goto p_err;
}
ret = fimc_is_csi_probe(device, device->pdata->csi_ch);
if (ret) {
- merr("fimc_is_csi_probe is fail(%d)", device, ret);
+ merr("fimc_is_csi_probe failed(%d)", device, ret);
goto p_err;
}
ret = fimc_is_flite_probe(device, device->pdata->flite_ch);
if (ret) {
- merr("fimc_is_flite_probe is fail(%d)", device, ret);
+ merr("fimc_is_flite_probe failed(%d)", device, ret);
goto p_err;
}
ret = fimc_is_sen_video_probe(device);
if (ret) {
- merr("fimc_is_sensor_video_probe is fail(%d)", device, ret);
+ merr("fimc_is_sensor_video_probe failed(%d)", device, ret);
goto p_err;
}
@@ -900,19 +900,19 @@ int fimc_is_sensor_open(struct fimc_is_device_sensor *device,
/* for mediaserver force close */
ret = fimc_is_resource_get(device->resourcemgr, device->instance);
if (ret) {
- merr("fimc_is_resource_get is fail", device);
+ merr("fimc_is_resource_get failed", device);
goto p_err;
}
ret = fimc_is_csi_open(device->subdev_csi);
if (ret) {
- merr("fimc_is_csi_open is fail(%d)", device, ret);
+ merr("fimc_is_csi_open failed(%d)", device, ret);
goto p_err;
}
ret = fimc_is_flite_open(device->subdev_flite, GET_DST_FRAMEMGR(vctx));
if (ret) {
- merr("fimc_is_flite_open is fail(%d)", device, ret);
+ merr("fimc_is_flite_open failed(%d)", device, ret);
goto p_err;
}
@@ -960,19 +960,19 @@ int fimc_is_sensor_close(struct fimc_is_device_sensor *device)
ret = fimc_is_sensor_back_stop(device);
if (ret)
- merr("fimc_is_sensor_back_stop is fail(%d)", device, ret);
+ merr("fimc_is_sensor_back_stop failed(%d)", device, ret);
ret = fimc_is_sensor_front_stop(device);
if (ret)
- merr("fimc_is_sensor_front_stop is fail(%d)", device, ret);
+ merr("fimc_is_sensor_front_stop failed(%d)", device, ret);
ret = fimc_is_csi_close(device->subdev_csi);
if (ret)
- merr("fimc_is_flite_close is fail(%d)", device, ret);
+ merr("fimc_is_flite_close failed(%d)", device, ret);
ret = fimc_is_flite_close(device->subdev_flite);
if (ret)
- merr("fimc_is_flite_close is fail(%d)", device, ret);
+ merr("fimc_is_flite_close failed(%d)", device, ret);
pm_runtime_put_sync(&device->pdev->dev);
@@ -988,7 +988,7 @@ int fimc_is_sensor_close(struct fimc_is_device_sensor *device)
/* for mediaserver force close */
ret = fimc_is_resource_put(device->resourcemgr, device->instance);
if (ret)
- merr("fimc_is_resource_put is fail", device);
+ merr("fimc_is_resource_put failed", device);
clear_bit(FIMC_IS_SENSOR_OPEN, &device->state);
set_bit(FIMC_IS_SENSOR_BACK_NOWAIT_STOP, &device->state);
@@ -1117,7 +1117,7 @@ int fimc_is_sensor_s_input(struct fimc_is_device_sensor *device,
ret = v4l2_device_register_subdev(&device->v4l2_dev, subdev_module);
if (ret) {
- merr("v4l2_device_register_subdev is fail(%d)", device, ret);
+ merr("v4l2_device_register_subdev failed(%d)", device, ret);
goto p_err;
} else {
device->subdev_module = subdev_module;
@@ -1127,7 +1127,7 @@ int fimc_is_sensor_s_input(struct fimc_is_device_sensor *device,
/* configuration clock control */
ret = fimc_is_sensor_iclk_on(device);
if (ret) {
- merr("fimc_is_sensor_iclk_on is fail(%d)", device, ret);
+ merr("fimc_is_sensor_iclk_on failed(%d)", device, ret);
goto p_err;
}
@@ -1135,27 +1135,27 @@ int fimc_is_sensor_s_input(struct fimc_is_device_sensor *device,
/* Sensor power on */
ret = fimc_is_sensor_gpio_on(device);
if (ret) {
- merr("fimc_is_sensor_gpio_on is fail(%d)", device, ret);
+ merr("fimc_is_sensor_gpio_on failed(%d)", device, ret);
goto p_err;
}
ret = v4l2_subdev_call(subdev_flite, core, ioctl, 0,
(void *)(long)device->pdata->csi_ch);
if (ret) {
- merr("v4l2_flite_call(init) is fail(%d)", device, ret);
+ merr("v4l2_flite_call(init) failed(%d)", device, ret);
goto p_err;
}
ret = v4l2_subdev_call(subdev_csi, core, ioctl, 0, module);
if (ret) {
- merr("v4l2_csi_call(init) is fail(%d)", device, ret);
+ merr("v4l2_csi_call(init) failed(%d)", device, ret);
goto p_err;
}
if (test_bit(FIMC_IS_SENSOR_DRIVING, &device->state)) {
ret = v4l2_subdev_call(subdev_module, core, ioctl, 0, 0);
if (ret) {
- merr("v4l2_module_call(init) is fail(%d)", device, ret);
+ merr("v4l2_module_call(init) failed(%d)", device, ret);
goto p_err;
}
}
@@ -1217,20 +1217,20 @@ int fimc_is_sensor_s_format(struct fimc_is_device_sensor *device,
if (test_bit(FIMC_IS_SENSOR_DRIVING, &device->state)) {
ret = v4l2_subdev_call(subdev_module, video, s_mbus_fmt, &subdev_format);
if (ret) {
- merr("v4l2_module_call(s_format) is fail(%d)", device, ret);
+ merr("v4l2_module_call(s_format) failed(%d)", device, ret);
goto p_err;
}
}
ret = v4l2_subdev_call(subdev_csi, video, s_mbus_fmt, &subdev_format);
if (ret) {
- merr("v4l2_csi_call(s_format) is fail(%d)", device, ret);
+ merr("v4l2_csi_call(s_format) failed(%d)", device, ret);
goto p_err;
}
ret = v4l2_subdev_call(subdev_flite, video, s_mbus_fmt, &subdev_format);
if (ret) {
- merr("v4l2_flite_call(s_format) is fail(%d)", device, ret);
+ merr("v4l2_flite_call(s_format) failed(%d)", device, ret);
goto p_err;
}
@@ -1312,14 +1312,14 @@ int fimc_is_sensor_s_framerate(struct fimc_is_device_sensor *device,
ret = v4l2_subdev_call(subdev_csi, video, s_parm, param);
if (ret) {
- merr("v4l2_csi_call(s_param) is fail(%d)", device, ret);
+ merr("v4l2_csi_call(s_param) failed(%d)", device, ret);
goto p_err;
}
if (test_bit(FIMC_IS_SENSOR_DRIVING, &device->state)) {
ret = v4l2_subdev_call(subdev_module, video, s_parm, param);
if (ret) {
- merr("v4l2_module_call(s_param) is fail(%d)", device, ret);
+ merr("v4l2_module_call(s_param) failed(%d)", device, ret);
goto p_err;
}
}
@@ -1352,7 +1352,7 @@ int fimc_is_sensor_s_ctrl(struct fimc_is_device_sensor *device,
ret = v4l2_subdev_call(subdev_module, core, s_ctrl, ctrl);
if (ret) {
- err("s_ctrl is fail(%d)", ret);
+ err("s_ctrl failed(%d)", ret);
goto p_err;
}
@@ -1482,7 +1482,7 @@ int fimc_is_sensor_g_ctrl(struct fimc_is_device_sensor *device,
ret = v4l2_subdev_call(subdev_module, core, g_ctrl, ctrl);
if (ret) {
- err("g_ctrl is fail(%d)", ret);
+ err("g_ctrl failed(%d)", ret);
goto p_err;
}
@@ -1722,7 +1722,7 @@ int fimc_is_sensor_back_start(struct fimc_is_device_sensor *device)
ret = v4l2_subdev_call(subdev_flite, video, s_stream, enable);
if (ret) {
- merr("v4l2_flite_call(s_stream) is fail(%d)", device, ret);
+ merr("v4l2_flite_call(s_stream) failed(%d)", device, ret);
goto p_err;
}
@@ -1758,7 +1758,7 @@ int fimc_is_sensor_back_stop(struct fimc_is_device_sensor *device)
ret = v4l2_subdev_call(subdev_flite, video, s_stream, enable);
if (ret) {
- merr("v4l2_flite_call(s_stream) is fail(%d)", device, ret);
+ merr("v4l2_flite_call(s_stream) failed(%d)", device, ret);
goto p_err;
}
@@ -1806,7 +1806,7 @@ int fimc_is_sensor_front_start(struct fimc_is_device_sensor *device,
ret = v4l2_subdev_call(subdev_csi, video, s_stream, IS_ENABLE_STREAM);
if (ret) {
- merr("v4l2_csi_call(s_stream) is fail(%d)", device, ret);
+ merr("v4l2_csi_call(s_stream) failed(%d)", device, ret);
goto p_err;
}
@@ -1822,7 +1822,7 @@ int fimc_is_sensor_front_start(struct fimc_is_device_sensor *device,
} else {
fimc_is_sensor_instanton(&device->instant_work);
if (device->instant_ret) {
- merr("fimc_is_sensor_instanton is fail(%d)", device, device->instant_ret);
+ merr("fimc_is_sensor_instanton failed(%d)", device, device->instant_ret);
ret = device->instant_ret;
goto p_err;
}
@@ -1848,11 +1848,11 @@ int fimc_is_sensor_front_stop(struct fimc_is_device_sensor *device)
ret = fimc_is_sensor_stop(device);
if (ret)
- merr("sensor stream off is failed(%d)\n", device, ret);
+ merr("sensor stream off faileded(%d)\n", device, ret);
ret = v4l2_subdev_call(subdev_csi, video, s_stream, IS_DISABLE_STREAM);
if (ret)
- merr("v4l2_csi_call(s_stream) is fail(%d)", device, ret);
+ merr("v4l2_csi_call(s_stream) failed(%d)", device, ret);
set_bit(FIMC_IS_SENSOR_BACK_NOWAIT_STOP, &device->state);
clear_bit(FIMC_IS_SENSOR_FRONT_START, &device->state);
@@ -1886,7 +1886,7 @@ int fimc_is_sensor_gpio_off_softlanding(struct fimc_is_device_sensor *device)
ret = pdata->gpio_cfg(device->pdev, pdata->scenario, GPIO_SCENARIO_OFF);
if (ret) {
- merr("gpio_cfg is fail(%d)", device, ret);
+ merr("gpio_cfg failed(%d)", device, ret);
goto p_err;
}
@@ -1940,23 +1940,23 @@ int fimc_is_sensor_runtime_suspend(struct device *dev)
if(device->pdata->is_softlanding == false) {
ret = fimc_is_sensor_gpio_off(device);
if (ret) {
- mwarn("fimc_is_sensor_gpio_off is fail(%d)", device, ret);
+ mwarn("fimc_is_sensor_gpio_off failed(%d)", device, ret);
}
}
/* GSCL internal clock off */
ret = fimc_is_sensor_iclk_off(device);
if (ret)
- mwarn("fimc_is_sensor_iclk_off is fail(%d)", device, ret);
+ mwarn("fimc_is_sensor_iclk_off failed(%d)", device, ret);
/* Sensor clock on */
ret = fimc_is_sensor_mclk_off(device);
if (ret)
- mwarn("fimc_is_sensor_mclk_off is fail(%d)", device, ret);
+ mwarn("fimc_is_sensor_mclk_off failed(%d)", device, ret);
ret = v4l2_subdev_call(subdev_csi, core, s_power, 0);
if (ret)
- mwarn("v4l2_csi_call(s_power) is fail(%d)", device, ret);
+ mwarn("v4l2_csi_call(s_power) failed(%d)", device, ret);
info("[SEN:D:%d] %s(%d)\n", device->instance, __func__, ret);
@@ -1986,14 +1986,14 @@ int fimc_is_sensor_runtime_resume(struct device *dev)
/* 1. Enable MIPI */
ret = v4l2_subdev_call(subdev_csi, core, s_power, 1);
if (ret) {
- merr("v4l2_csi_call(s_power) is fail(%d)", device, ret);
+ merr("v4l2_csi_call(s_power) failed(%d)", device, ret);
goto p_err;
}
/* 2. Sensor clock on */
ret = fimc_is_sensor_mclk_on(device);
if (ret) {
- merr("fimc_is_sensor_mclk_on is fail(%d)", device, ret);
+ merr("fimc_is_sensor_mclk_on failed(%d)", device, ret);
goto p_err;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-dt.c b/drivers/media/platform/exynos/fimc-is/fimc-is-dt.c
index 4c5ea68b8039..9b7f07a82aa5 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-dt.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-dt.c
@@ -41,7 +41,7 @@ int get_pin_lookup_state(struct device *dev,
pdata->csi_ch);
s = pinctrl_lookup_state(pdata->pinctrl, ch_name);
if (IS_ERR(s)) {
- err("cam %s, ch %d pinctrl_lookup_state is failed", ch_name, pdata->csi_ch);
+ err("cam %s, ch %d pinctrl_lookup_state failed", ch_name, pdata->csi_ch);
ret = -EINVAL;
goto p_err;
} else {
@@ -225,13 +225,13 @@ struct exynos_platform_fimc_is *fimc_is_parse_dt(struct device *dev)
retVal = of_property_read_u32(np, "companion_spi_channel", &pdata->companion_spi_channel);
if (retVal) {
- err("spi_channel read is fail(%d)", retVal);
+ err("spi_channel read failed(%d)", retVal);
}
pdata->use_two_spi_line = of_property_read_bool(np, "use_two_spi_line");
retVal = of_property_read_u32(np, "use_sensor_dynamic_voltage_mode", &pdata->use_sensor_dynamic_voltage_mode);
if (retVal) {
- err("use_sensor_dynamic_voltage_mode read is fail(%d)", retVal);
+ err("use_sensor_dynamic_voltage_mode read failed(%d)", retVal);
pdata->use_sensor_dynamic_voltage_mode = 0;
}
pdata->use_ois = of_property_read_bool(np, "use_ois");
@@ -316,49 +316,49 @@ int fimc_is_sensor_parse_dt(struct platform_device *pdev)
ret = of_property_read_u32(dnode, "scenario", &pdata->scenario);
if (ret) {
- err("scenario read is fail(%d)", ret);
+ err("scenario read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "mclk_ch", &pdata->mclk_ch);
if (ret) {
- err("mclk_ch read is fail(%d)", ret);
+ err("mclk_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "csi_ch", &pdata->csi_ch);
if (ret) {
- err("csi_ch read is fail(%d)", ret);
+ err("csi_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "flite_ch", &pdata->flite_ch);
if (ret) {
- err("flite_ch read is fail(%d)", ret);
+ err("flite_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "i2c_ch", &pdata->i2c_ch);
if (ret) {
- err("i2c_ch read is fail(%d)", ret);
+ err("i2c_ch read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "i2c_addr", &pdata->i2c_addr);
if (ret) {
- err("i2c_addr read is fail(%d)", ret);
+ err("i2c_addr read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "is_bns", &pdata->is_bns);
if (ret) {
- err("is_bns read is fail(%d)", ret);
+ err("is_bns read failed(%d)", ret);
goto p_err;
}
ret = of_property_read_u32(dnode, "id", &id);
if (ret) {
- err("id read is fail(%d)", ret);
+ err("id read failed(%d)", ret);
goto p_err;
}
@@ -367,14 +367,14 @@ int fimc_is_sensor_parse_dt(struct platform_device *pdev)
ret = of_property_read_string(dnode, "sensor_name", &name);
if (ret) {
- err("sensor_name read is fail(%d)", ret);
+ err("sensor_name read failed(%d)", ret);
goto p_err;
}
strcpy(pdata->sensor_name, name);
ret = of_property_read_u32(dnode, "sensor_id", &pdata->sensor_id);
if (ret) {
- err("sensor_id read is fail(%d)", ret);
+ err("sensor_id read failed(%d)", ret);
goto p_err;
}
@@ -388,12 +388,12 @@ int fimc_is_sensor_parse_dt(struct platform_device *pdev)
pdata->pinctrl = devm_pinctrl_get(dev);
if (IS_ERR(pdata->pinctrl)) {
- err("devm_pinctrl_get is fail");
+ err("devm_pinctrl_get failed");
goto p_err;
} else {
ret = get_pin_lookup_state(dev, pdata);
if (ret < 0) {
- err("fimc_is_get_pin_lookup_state is fail");
+ err("fimc_is_get_pin_lookup_state failed");
goto p_err;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-groupmgr.c b/drivers/media/platform/exynos/fimc-is/fimc-is-groupmgr.c
index d5e518209599..015d9b1c2598 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-groupmgr.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-groupmgr.c
@@ -638,7 +638,7 @@ int fimc_is_group_open(struct fimc_is_groupmgr *groupmgr,
ret = sched_setscheduler_nocheck(groupmgr->group_task[id], SCHED_FIFO, &param);
if (ret) {
- merr("sched_setscheduler_nocheck is fail(%d)", group, ret);
+ merr("sched_setscheduler_nocheck failed(%d)", group, ret);
goto p_err;
}
@@ -1198,7 +1198,7 @@ check_completion:
}
if (!retry) {
- merr("waiting(until request empty) is fail", group);
+ merr("waiting(until request empty) failed", group);
ret = -EINVAL;
}
@@ -1210,7 +1210,7 @@ check_completion:
}
if (!retry) {
- merr("waiting(until process empty) is fail", group);
+ merr("waiting(until process empty) failed", group);
ret = -EINVAL;
}
}
@@ -1218,7 +1218,7 @@ check_completion:
if (test_bit(FIMC_IS_GROUP_FORCE_STOP, &group->state)) {
ret = fimc_is_itf_force_stop(device, GROUP_ID(group->id));
if (ret) {
- merr("fimc_is_itf_force_stop is fail", group);
+ merr("fimc_is_itf_force_stop failed", group);
ret = -EINVAL;
}
} else {
@@ -1232,7 +1232,7 @@ check_completion:
ret = fimc_is_itf_process_stop(device, group_id);
if (ret) {
- merr("fimc_is_itf_process_stop is fail", group);
+ merr("fimc_is_itf_process_stop failed", group);
ret = -EINVAL;
}
}
@@ -1245,7 +1245,7 @@ check_completion:
}
if (!retry) {
- merr("waiting(until process empty) is fail", group);
+ merr("waiting(until process empty) failed", group);
ret = -EINVAL;
}
}
@@ -1263,7 +1263,7 @@ check_completion:
}
if (!retry) {
- mgerr(" waiting(until thread stop) is fail", device, group);
+ mgerr(" waiting(until thread stop) failed", device, group);
ret = -EINVAL;
}
@@ -1501,7 +1501,7 @@ int fimc_is_group_start(struct fimc_is_groupmgr *groupmgr,
PROGRAM_COUNT(1);
ret = down_interruptible(&group->smp_shot);
if (ret) {
- err("down is fail1(%d)", ret);
+ err("down failed1(%d)", ret);
goto p_err;
}
atomic_dec(&group->smp_shot_count);
@@ -1517,7 +1517,7 @@ int fimc_is_group_start(struct fimc_is_groupmgr *groupmgr,
PROGRAM_COUNT(2);
ret = down_interruptible(&groupmgr->group_smp_res[group->id]);
if (ret) {
- err("down is fail2(%d)", ret);
+ err("down failed2(%d)", ret);
goto p_err;
}
try_rdown = true;
@@ -1527,7 +1527,7 @@ int fimc_is_group_start(struct fimc_is_groupmgr *groupmgr,
PROGRAM_COUNT(3);
ret = down_interruptible(&group->smp_trigger);
if (ret) {
- err("down is fail3(%d)", ret);
+ err("down failed3(%d)", ret);
goto p_err;
}
} else {
@@ -1541,7 +1541,7 @@ int fimc_is_group_start(struct fimc_is_groupmgr *groupmgr,
PROGRAM_COUNT(4);
ret = down_interruptible(&group->smp_trigger);
if (ret) {
- err("down is fail4(%d)", ret);
+ err("down failed4(%d)", ret);
goto p_err;
}
} else {
@@ -1756,7 +1756,7 @@ int fimc_is_group_start(struct fimc_is_groupmgr *groupmgr,
PROGRAM_COUNT(6);
ret = group->start_callback(group->device, ldr_frame);
if (ret) {
- merr("start_callback is fail", group);
+ merr("start_callback failed", group);
fimc_is_group_cancel(group, ldr_frame);
fimc_is_group_done(groupmgr, group, ldr_frame, VB2_BUF_STATE_ERROR);
} else {
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-hw-ischain.c b/drivers/media/platform/exynos/fimc-is/fimc-is-hw-ischain.c
index 3479b713bb2c..3672bf6a81fa 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-hw-ischain.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-hw-ischain.c
@@ -72,7 +72,7 @@ int fimc_is_runtime_suspend(struct device *dev)
pr_info("FIMC_IS runtime suspend in\n");
if (CALL_POPS(core, clk_off, pdev) < 0)
- warn("clk_off is fail\n");
+ warn("clk_off failed\n");
pr_info("FIMC_IS runtime suspend out\n");
@@ -96,14 +96,14 @@ int fimc_is_runtime_resume(struct device *dev)
/* Low clock setting */
if (CALL_POPS(core, clk_cfg, core->pdev) < 0) {
- err("clk_cfg is fail\n");
+ err("clk_cfg failed\n");
ret = -EINVAL;
goto p_err;
}
/* Clock on */
if (CALL_POPS(core, clk_on, core->pdev) < 0) {
- err("clk_on is fail\n");
+ err("clk_on failed\n");
ret = -EINVAL;
goto p_err;
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-interface.c b/drivers/media/platform/exynos/fimc-is/fimc-is-interface.c
index b2a02e6bff41..fdb3f5a9678e 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-interface.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-interface.c
@@ -481,7 +481,7 @@ static int fimc_is_set_cmd(struct fimc_is_interface *itf,
wait_lock = wait_lockstate(itf);
pr_info("itf UNLOCK, %d(%d) go\n", current->pid, msg->command);
if (wait_lock) {
- err("wait_lockstate is fail, lock reset");
+ err("wait_lockstate failed, lock reset");
atomic_set(&itf->lock_pid, 0);
}
}
@@ -533,7 +533,7 @@ static int fimc_is_set_cmd(struct fimc_is_interface *itf,
if (ret) {
exit_request_barrier(itf);
exit_process_barrier(itf);
- err("waiting for ready is fail");
+ err("waiting for ready failed");
ret = -EBUSY;
goto exit;
}
@@ -653,7 +653,7 @@ static int fimc_is_set_cmd_shot(struct fimc_is_interface *this,
ret = waiting_is_ready(this);
if (ret) {
exit_process_barrier(this);
- err("waiting for ready is fail");
+ err("waiting for ready failed");
ret = -EBUSY;
goto exit;
}
@@ -702,7 +702,7 @@ static int fimc_is_set_cmd_nblk(struct fimc_is_interface *this,
ret = waiting_is_ready(this);
if (ret) {
- err("waiting for ready is fail");
+ err("waiting for ready failed");
ret = -EBUSY;
goto exit;
}
@@ -2438,7 +2438,7 @@ int fimc_is_interface_close(struct fimc_is_interface *this)
retry--;
}
if (!retry)
- err("waiting idle is fail");
+ err("waiting idle failed");
del_timer_sync(&this->timer);
dbg_interface("%s\n", __func__);
@@ -3013,7 +3013,7 @@ int fimc_is_hw_power_down(struct fimc_is_interface *this,
warn("instance(%d): FW is not initialized, wait\n", instance);
ret = fimc_is_hw_enum(this);
if (ret)
- err("fimc_is_itf_enum is fail(%d)", ret);
+ err("fimc_is_itf_enum failed(%d)", ret);
}
msg.id = 0;
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-resourcemgr.c b/drivers/media/platform/exynos/fimc-is/fimc-is-resourcemgr.c
index 2b226ef40f29..0b2ebb0d3880 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-resourcemgr.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-resourcemgr.c
@@ -75,13 +75,13 @@ int fimc_is_resource_get(struct fimc_is_resourcemgr *resourcemgr, u32 rsc_type)
ret = fimc_is_interface_open(&core->interface);
if (ret) {
- err("fimc_is_interface_open is fail(%d)", ret);
+ err("fimc_is_interface_open failed(%d)", ret);
goto p_err;
}
ret = fimc_is_ischain_power(&core->ischain[0], 1);
if (ret) {
- err("fimc_is_ischain_power is fail (%d)", ret);
+ err("fimc_is_ischain_power failed (%d)", ret);
goto p_err;
}
@@ -134,20 +134,20 @@ int fimc_is_resource_put(struct fimc_is_resourcemgr *resourcemgr, u32 rsc_type)
case RESOURCE_TYPE_ISCHAIN:
ret = fimc_is_itf_power_down(&core->interface);
if (ret)
- err("power down cmd is fail(%d)", ret);
+ err("power down cmd failed(%d)", ret);
ret = fimc_is_ischain_power(&core->ischain[0], 0);
if (ret)
- err("fimc_is_ischain_power is fail(%d)", ret);
+ err("fimc_is_ischain_power failed(%d)", ret);
ret = fimc_is_interface_close(&core->interface);
if (ret)
- err("fimc_is_interface_close is fail(%d)", ret);
+ err("fimc_is_interface_close failed(%d)", ret);
#ifndef RESERVED_MEM
/* 5. Dealloc memroy */
ret = fimc_is_ishcain_deinitmem(&core->ischain[0]);
if (ret)
- err("fimc_is_ishcain_deinitmem is fail(%d)", ret);
+ err("fimc_is_ishcain_deinitmem failed(%d)", ret);
#endif
break;
@@ -162,7 +162,7 @@ int fimc_is_resource_put(struct fimc_is_resourcemgr *resourcemgr, u32 rsc_type)
if (atomic_read(&core->rsccount) == 1) {
ret = fimc_is_runtime_suspend_post(NULL);
if (ret)
- err("fimc_is_runtime_suspend_post is fail(%d)", ret);
+ err("fimc_is_runtime_suspend_post failed(%d)", ret);
}
atomic_dec(&resource->rsccount);
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aa.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aa.c
index 1e40c5e47889..3db80b2449cb 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aa.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aa.c
@@ -73,7 +73,7 @@ int fimc_is_3a0_video_probe(void *data)
&fimc_is_3aa_video_fops,
&fimc_is_3aa_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -106,7 +106,7 @@ int fimc_is_3a1_video_probe(void *data)
&fimc_is_3aa_video_fops,
&fimc_is_3aa_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -143,7 +143,7 @@ static int fimc_is_3aa_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_3AA_GRP, FRAMEMGR_ID_3AAP);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -170,14 +170,14 @@ static int fimc_is_3aa_video_open(struct file *file)
&fimc_is_ischain_3aa_ops,
&fimc_is_ischain_sub_ops);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_ischain_3aa_open(device, vctx);
if (ret) {
- err("fimc_is_ischain_3aa_open is fail");
+ err("fimc_is_ischain_3aa_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -223,7 +223,7 @@ static int fimc_is_3aa_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -237,7 +237,7 @@ static unsigned int fimc_is_3aa_video_poll(struct file *file,
ret = fimc_is_video_poll(file, vctx, wait);
if (ret)
- merr("fimc_is_video_poll is fail(%d)", vctx, ret);
+ merr("fimc_is_video_poll failed(%d)", vctx, ret);
return ret;
}
@@ -250,7 +250,7 @@ static int fimc_is_3aa_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -320,7 +320,7 @@ static int fimc_is_3aa_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret) {
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
goto p_err;
}
@@ -403,14 +403,14 @@ static int fimc_is_3aa_video_reqbufs(struct file *file, void *priv,
if (V4L2_TYPE_IS_OUTPUT(buf->type)) {
ret = fimc_is_ischain_3aa_reqbufs(device, buf->count);
if (ret) {
- merr("3a0_reqbufs is fail(%d)", vctx, ret);
+ merr("3a0_reqbufs failed(%d)", vctx, ret);
goto p_err;
}
}
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(%d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(%d)", vctx, ret);
p_err:
return ret;
@@ -426,7 +426,7 @@ static int fimc_is_3aa_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -445,7 +445,7 @@ static int fimc_is_3aa_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf(type %d) is fail(%d)", vctx, buf->type, ret);
+ merr("fimc_is_video_qbuf(type %d) failed(%d)", vctx, buf->type, ret);
return ret;
}
@@ -465,7 +465,7 @@ static int fimc_is_3aa_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
/* HACK : this log is commented until timeout issue fixed */
/* if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
*/
return ret;
}
@@ -480,7 +480,7 @@ static int fimc_is_3aa_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -495,7 +495,7 @@ static int fimc_is_3aa_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -530,13 +530,13 @@ static int fimc_is_3aa_video_s_input(struct file *file, void *priv,
ret = fimc_is_ischain_3aa_s_input(device, input);
if (ret) {
- merr("fimc_is_ischain_3aa_s_input is fail", vctx);
+ merr("fimc_is_ischain_3aa_s_input failed", vctx);
goto p_err;
}
ret = fimc_is_ischain_init_wrap(device, input);
if (ret) {
- merr("fimc_is_device_init(%d) is fail", vctx, input);
+ merr("fimc_is_device_init(%d) failed", vctx, input);
goto p_err;
}
@@ -587,14 +587,14 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
size = sizeof(struct v4l2_buffer);
buf = kmalloc(size, GFP_KERNEL);
if (!buf) {
- merr("kmalloc is fail", vctx);
+ merr("kmalloc failed", vctx);
ret = -EINVAL;
goto p_err;
}
ret = copy_from_user(buf, (void __user *)ctrl->value, size);
if (ret) {
- merr("copy_from_user is fail(%d)", vctx, ret);
+ merr("copy_from_user failed(%d)", vctx, ret);
kfree(buf);
ret = -EINVAL;
goto p_err;
@@ -632,7 +632,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
size = sizeof(struct v4l2_plane) * buf->length;
planes = kmalloc(size, GFP_KERNEL);
if (IS_ERR(planes)) {
- merr("kmalloc is fail(%p)", vctx, planes);
+ merr("kmalloc failed(%p)", vctx, planes);
kfree(buf);
ret = -EINVAL;
goto p_err;
@@ -640,7 +640,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
ret = copy_from_user(planes, (void __user *)buf->m.planes, size);
if (ret) {
- merr("copy_from_user is fail(%d)", vctx, ret);
+ merr("copy_from_user failed(%d)", vctx, ret);
kfree(planes);
kfree(buf);
ret = -EINVAL;
@@ -669,7 +669,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
}
dmabuf = dma_buf_get(planes[plane].m.fd);
if (IS_ERR(dmabuf)) {
- merr("dma_buf_get is fail(%p)", vctx, dmabuf);
+ merr("dma_buf_get failed(%p)", vctx, dmabuf);
kfree(planes);
kfree(buf);
ret = -EINVAL;
@@ -678,7 +678,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
attachment = dma_buf_attach(dmabuf, &device->pdev->dev);
if (IS_ERR(attachment)) {
- merr("dma_buf_attach is fail(%p)", vctx, attachment);
+ merr("dma_buf_attach failed(%p)", vctx, attachment);
kfree(planes);
kfree(buf);
dma_buf_put(dmabuf);
@@ -689,7 +689,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
write = !V4L2_TYPE_IS_OUTPUT(buf->type);
dva = ion_iovmm_map(attachment, 0, dmabuf->size, write, plane);
if (IS_ERR_VALUE(dva)) {
- merr("ion_iovmm_map is fail(%X)", vctx, dva);
+ merr("ion_iovmm_map failed(%X)", vctx, dva);
kfree(planes);
kfree(buf);
dma_buf_detach(dmabuf, attachment);
@@ -701,7 +701,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
group_id = GROUP_ID(device->group_3aa.id);
ret = fimc_is_itf_map(device, group_id, dva, dmabuf->size);
if (ret) {
- merr("fimc_is_itf_map is fail(%d)", vctx, ret);
+ merr("fimc_is_itf_map failed(%d)", vctx, ret);
kfree(planes);
kfree(buf);
dma_buf_detach(dmabuf, attachment);
@@ -802,7 +802,7 @@ static int fimc_is_3aa_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -849,7 +849,7 @@ static int fimc_is_3aa_start_streaming(struct vb2_queue *vbq,
ret = fimc_is_queue_start_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -879,7 +879,7 @@ static void fimc_is_3aa_stop_streaming(struct vb2_queue *vbq)
ret = fimc_is_queue_stop_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_3aa_buffer_queue(struct vb2_buffer *vb)
@@ -907,26 +907,26 @@ static void fimc_is_3aa_buffer_queue(struct vb2_buffer *vb)
queue = GET_SRC_QUEUE(vctx);
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_ischain_3aa_buffer_queue(device, queue, index);
if (ret) {
- merr("fimc_is_ischain_3aa_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_ischain_3aa_buffer_queue failed(%d)", vctx, ret);
return;
}
} else {
queue = GET_DST_QUEUE(vctx);
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_subdev_buffer_queue(leader, index);
if (ret) {
- merr("fimc_is_subdev_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_subdev_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aac.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aac.c
index 9f25ab4abcc1..6964e21d542e 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aac.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-3aac.c
@@ -66,7 +66,7 @@ int fimc_is_3a0c_video_probe(void *data)
&fimc_is_3aac_video_fops,
&fimc_is_3aac_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -99,7 +99,7 @@ int fimc_is_3a1c_video_probe(void *data)
&fimc_is_3aac_video_fops,
&fimc_is_3aac_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
info("[3AC1:V:1] %s(%d)\n", __func__, ret);
@@ -137,7 +137,7 @@ static int fimc_is_3aac_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_INVALID, FRAMEMGR_ID_3AAC);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -162,14 +162,14 @@ static int fimc_is_3aac_video_open(struct file *file)
NULL,
&fimc_is_ischain_sub_ops);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_subdev_open(&device->taac, vctx, NULL);
if (ret) {
- err("fimc_is_subdev_open is fail");
+ err("fimc_is_subdev_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -215,7 +215,7 @@ static int fimc_is_3aac_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -229,7 +229,7 @@ static unsigned int fimc_is_3aac_video_poll(struct file *file,
ret = fimc_is_video_poll(file, vctx, wait);
if (ret)
- merr("fimc_is_video_poll is fail(%d)", vctx, ret);
+ merr("fimc_is_video_poll failed(%d)", vctx, ret);
return ret;
}
@@ -242,7 +242,7 @@ static int fimc_is_3aac_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -304,13 +304,13 @@ static int fimc_is_3aac_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret) {
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
goto p_err;
}
ret = fimc_is_subdev_s_format(subdev, queue->framecfg.width, queue->framecfg.height);
if (ret) {
- merr("fimc_is_ischain_3aac_s_format is fail(%d)", vctx, ret);
+ merr("fimc_is_ischain_3aac_s_format failed(%d)", vctx, ret);
goto p_err;
}
@@ -377,7 +377,7 @@ static int fimc_is_3aac_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(%d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(%d)", vctx, ret);
p_err:
return ret;
@@ -393,7 +393,7 @@ static int fimc_is_3aac_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -411,7 +411,7 @@ static int fimc_is_3aac_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
return ret;
}
@@ -428,7 +428,7 @@ static int fimc_is_3aac_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
return ret;
}
@@ -443,7 +443,7 @@ static int fimc_is_3aac_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -458,7 +458,7 @@ static int fimc_is_3aac_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -585,7 +585,7 @@ static int fimc_is_3aac_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -625,7 +625,7 @@ static int fimc_is_3aac_start_streaming(struct vb2_queue *vbq,
ret = fimc_is_queue_start_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -649,7 +649,7 @@ static void fimc_is_3aac_stop_streaming(struct vb2_queue *vbq)
ret = fimc_is_queue_stop_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_3aac_buffer_queue(struct vb2_buffer *vb)
@@ -674,13 +674,13 @@ static void fimc_is_3aac_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_subdev_buffer_queue(subdev, vb->v4l2_buf.index);
if (ret) {
- merr("fimc_is_subdev_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_subdev_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-companion.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-companion.c
index 5ea07c1f6eaf..9dd9523b26e8 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-companion.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-companion.c
@@ -67,7 +67,7 @@ int fimc_is_comp_video_probe(void *data)
&fimc_is_comp_video_fops,
&fimc_is_comp_video_ioctl_ops);
if (ret)
- dev_err(&device->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&device->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
info("[CP%d:V:X] %s(%d)\n", number, __func__, ret);
@@ -142,7 +142,7 @@ static int fimc_is_comp_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_INVALID, FRAMEMGR_ID_INVALID);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -150,7 +150,7 @@ static int fimc_is_comp_video_open(struct file *file)
ret = fimc_is_companion_open(device);
if (ret) {
- merr("fimc_is_comp_open is fail(%d)", vctx, ret);
+ merr("fimc_is_comp_open failed(%d)", vctx, ret);
close_vctx(file, video, vctx);
goto p_err;
}
@@ -185,11 +185,11 @@ static int fimc_is_comp_video_close(struct file *file)
ret = fimc_is_companion_close(device);
if (ret)
- err("fimc_is_companion_close is fail(%d)", ret);
+ err("fimc_is_companion_close failed(%d)", ret);
ret = close_vctx(file, video, vctx);
if (ret)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
core->fimc_is_companion_opened = 0;
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-isp.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-isp.c
index 2f53a2b3610a..9d1f735b2c78 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-isp.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-isp.c
@@ -71,7 +71,7 @@ int fimc_is_isp_video_probe(void *data)
&fimc_is_isp_video_fops,
&fimc_is_isp_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -103,7 +103,7 @@ static int fimc_is_isp_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_ISP_GRP, FRAMEMGR_ID_INVALID);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -120,14 +120,14 @@ static int fimc_is_isp_video_open(struct file *file)
&fimc_is_ischain_isp_ops,
NULL);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_ischain_open(device, vctx, &core->minfo);
if (ret) {
- err("fimc_is_ischain_open is fail");
+ err("fimc_is_ischain_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -175,7 +175,7 @@ static int fimc_is_isp_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -189,7 +189,7 @@ static unsigned int fimc_is_isp_video_poll(struct file *file,
ret = fimc_is_video_poll(file, vctx, wait);
if (ret)
- merr("fimc_is_video_poll is fail(%d)", vctx, ret);
+ merr("fimc_is_video_poll failed(%d)", vctx, ret);
return ret;
}
@@ -202,7 +202,7 @@ static int fimc_is_isp_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -268,7 +268,7 @@ static int fimc_is_isp_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret)
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
fimc_is_ischain_isp_s_format(device,
queue->framecfg.width,
@@ -330,13 +330,13 @@ static int fimc_is_isp_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_ischain_isp_reqbufs(device, buf->count);
if (ret) {
- merr("isp_reqbufs is fail(%d)", vctx, ret);
+ merr("isp_reqbufs failed(%d)", vctx, ret);
goto p_err;
}
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(error %d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(error %d)", vctx, ret);
p_err:
return ret;
@@ -352,7 +352,7 @@ static int fimc_is_isp_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -380,7 +380,7 @@ static int fimc_is_isp_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
p_err:
return ret;
@@ -398,7 +398,7 @@ static int fimc_is_isp_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
return ret;
}
@@ -413,7 +413,7 @@ static int fimc_is_isp_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -428,7 +428,7 @@ static int fimc_is_isp_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -463,7 +463,7 @@ static int fimc_is_isp_video_s_input(struct file *file, void *priv,
ret = fimc_is_ischain_isp_s_input(device, input);
if (ret) {
- merr("fimc_is_ischain_isp_s_input is fail", vctx);
+ merr("fimc_is_ischain_isp_s_input failed", vctx);
goto p_err;
}
@@ -474,7 +474,7 @@ static int fimc_is_isp_video_s_input(struct file *file, void *priv,
ret = fimc_is_ischain_init_wrap(device, input);
if (ret) {
- merr("fimc_is_device_init(%d) is fail", vctx, input);
+ merr("fimc_is_device_init(%d) failed", vctx, input);
goto p_err;
}
@@ -595,14 +595,14 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
size = sizeof(struct v4l2_buffer);
buf = kmalloc(size, GFP_KERNEL);
if (!buf) {
- merr("kmalloc is fail", vctx);
+ merr("kmalloc failed", vctx);
ret = -EINVAL;
goto p_err;
}
ret = copy_from_user(buf, (void __user *)ctrl->value, size);
if (ret) {
- merr("copy_from_user is fail(%d)", vctx, ret);
+ merr("copy_from_user failed(%d)", vctx, ret);
kfree(buf);
ret = -EINVAL;
goto p_err;
@@ -640,7 +640,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
size = sizeof(struct v4l2_plane) * buf->length;
planes = kmalloc(size, GFP_KERNEL);
if (IS_ERR(planes)) {
- merr("kmalloc is fail(%p)", vctx, planes);
+ merr("kmalloc failed(%p)", vctx, planes);
kfree(buf);
ret = -EINVAL;
goto p_err;
@@ -648,7 +648,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
ret = copy_from_user(planes, (void __user *)buf->m.planes, size);
if (ret) {
- merr("copy_from_user is fail(%d)", vctx, ret);
+ merr("copy_from_user failed(%d)", vctx, ret);
kfree(planes);
kfree(buf);
ret = -EINVAL;
@@ -677,7 +677,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
}
dmabuf = dma_buf_get(planes[plane].m.fd);
if (IS_ERR(dmabuf)) {
- merr("dma_buf_get is fail(%p)", vctx, dmabuf);
+ merr("dma_buf_get failed(%p)", vctx, dmabuf);
kfree(planes);
kfree(buf);
ret = -EINVAL;
@@ -686,7 +686,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
attachment = dma_buf_attach(dmabuf, &device->pdev->dev);
if (IS_ERR(attachment)) {
- merr("dma_buf_attach is fail(%p)", vctx, attachment);
+ merr("dma_buf_attach failed(%p)", vctx, attachment);
kfree(planes);
kfree(buf);
dma_buf_put(dmabuf);
@@ -697,7 +697,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
write = !V4L2_TYPE_IS_OUTPUT(buf->type);
dva = ion_iovmm_map(attachment, 0, dmabuf->size, write, plane);
if (IS_ERR_VALUE(dva)) {
- merr("ion_iovmm_map is fail(%X)", vctx, dva);
+ merr("ion_iovmm_map failed(%X)", vctx, dva);
kfree(planes);
kfree(buf);
dma_buf_detach(dmabuf, attachment);
@@ -709,7 +709,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
group_id = GROUP_ID(device->group_isp.id);
ret = fimc_is_itf_map(device, group_id, dva, dmabuf->size);
if (ret) {
- merr("fimc_is_itf_map is fail(%d)", vctx, ret);
+ merr("fimc_is_itf_map failed(%d)", vctx, ret);
kfree(planes);
kfree(buf);
dma_buf_detach(dmabuf, attachment);
@@ -831,7 +831,7 @@ static int fimc_is_isp_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -871,7 +871,7 @@ static int fimc_is_isp_start_streaming(struct vb2_queue *vbq,
ret = fimc_is_queue_start_streaming(queue, device, leader, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -898,7 +898,7 @@ static void fimc_is_isp_stop_streaming(struct vb2_queue *q)
ret = fimc_is_queue_stop_streaming(queue, device, leader, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_isp_buffer_queue(struct vb2_buffer *vb)
@@ -923,13 +923,13 @@ static void fimc_is_isp_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_ischain_isp_buffer_queue(device, queue, index);
if (ret) {
- merr("fimc_is_ischain_isp_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_ischain_isp_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-scc.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-scc.c
index 33ef6b211400..994bf3927562 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-scc.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-scc.c
@@ -66,7 +66,7 @@ int fimc_is_scc_video_probe(void *data)
&fimc_is_scc_video_fops,
&fimc_is_scc_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -99,7 +99,7 @@ static int fimc_is_scc_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_INVALID, FRAMEMGR_ID_SCC);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -124,14 +124,14 @@ static int fimc_is_scc_video_open(struct file *file)
NULL,
&fimc_is_ischain_sub_ops);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_subdev_open(&device->scc, vctx, NULL);
if (ret) {
- err("fimc_is_subdev_open is fail");
+ err("fimc_is_subdev_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -177,7 +177,7 @@ static int fimc_is_scc_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -202,7 +202,7 @@ static int fimc_is_scc_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -262,7 +262,7 @@ static int fimc_is_scc_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret)
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
return ret;
}
@@ -326,7 +326,7 @@ static int fimc_is_scc_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(%d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(%d)", vctx, ret);
p_err:
return ret;
@@ -342,7 +342,7 @@ static int fimc_is_scc_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -359,7 +359,7 @@ static int fimc_is_scc_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
return ret;
}
@@ -376,7 +376,7 @@ static int fimc_is_scc_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
return ret;
}
@@ -391,7 +391,7 @@ static int fimc_is_scc_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -406,7 +406,7 @@ static int fimc_is_scc_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -573,7 +573,7 @@ static int fimc_is_scc_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -611,7 +611,7 @@ static int fimc_is_scc_start_streaming(struct vb2_queue *q,
ret = fimc_is_queue_start_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -636,7 +636,7 @@ static void fimc_is_scc_stop_streaming(struct vb2_queue *q)
ret = fimc_is_queue_stop_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_scc_buffer_queue(struct vb2_buffer *vb)
@@ -654,13 +654,13 @@ static void fimc_is_scc_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_subdev_buffer_queue(scc, vb->v4l2_buf.index);
if (ret) {
- merr("fimc_is_subdev_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_subdev_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-scp.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-scp.c
index 864658c6b28b..751bd689fd24 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-scp.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-scp.c
@@ -67,7 +67,7 @@ int fimc_is_scp_video_probe(void *data)
&fimc_is_scp_video_fops,
&fimc_is_scp_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -100,7 +100,7 @@ static int fimc_is_scp_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_INVALID, FRAMEMGR_ID_SCP);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -125,14 +125,14 @@ static int fimc_is_scp_video_open(struct file *file)
NULL,
&fimc_is_ischain_sub_ops);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_subdev_open(&device->scp, vctx, NULL);
if (ret) {
- err("fimc_is_subdev_open is fail");
+ err("fimc_is_subdev_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -178,7 +178,7 @@ static int fimc_is_scp_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -203,7 +203,7 @@ static int fimc_is_scp_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -271,7 +271,7 @@ static int fimc_is_scp_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret) {
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
goto p_err;
}
@@ -280,7 +280,7 @@ static int fimc_is_scp_video_set_format_mplane(struct file *file, void *fh,
queue->framecfg.width,
queue->framecfg.height);
if (ret)
- merr("fimc_is_ischain_scp_s_format is fail(%d)", vctx, ret);
+ merr("fimc_is_ischain_scp_s_format failed(%d)", vctx, ret);
p_err:
return ret;
@@ -332,7 +332,7 @@ static int fimc_is_scp_video_set_crop(struct file *file, void *fh,
crop->c.width,
crop->c.height);
if (ret)
- merr("fimc_is_ischain_scp_s_format is fail(%d)", vctx, ret);
+ merr("fimc_is_ischain_scp_s_format failed(%d)", vctx, ret);
p_err:
return ret;
@@ -369,7 +369,7 @@ static int fimc_is_scp_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(%d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(%d)", vctx, ret);
p_err:
return ret;
@@ -385,7 +385,7 @@ static int fimc_is_scp_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -402,7 +402,7 @@ static int fimc_is_scp_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
return ret;
}
@@ -419,7 +419,7 @@ static int fimc_is_scp_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
return ret;
}
@@ -434,7 +434,7 @@ static int fimc_is_scp_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -449,7 +449,7 @@ static int fimc_is_scp_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -629,7 +629,7 @@ static int fimc_is_scp_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -668,7 +668,7 @@ static int fimc_is_scp_start_streaming(struct vb2_queue *q,
ret = fimc_is_queue_start_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -695,7 +695,7 @@ static void fimc_is_scp_stop_streaming(struct vb2_queue *q)
ret = fimc_is_queue_stop_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_scp_buffer_queue(struct vb2_buffer *vb)
@@ -720,13 +720,13 @@ static void fimc_is_scp_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_subdev_buffer_queue(subdev, vb->v4l2_buf.index);
if (ret) {
- merr("fimc_is_subdev_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_subdev_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-sensor.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-sensor.c
index ef205b05d245..a76f19278b72 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-sensor.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-sensor.c
@@ -72,7 +72,7 @@ int fimc_is_sen_video_probe(void *data)
&fimc_is_sen_video_fops,
&fimc_is_sen_video_ioctl_ops);
if (ret)
- dev_err(&device->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&device->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -108,7 +108,7 @@ static int fimc_is_sen_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_INVALID, FRAMEMGR_ID_SENSOR);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -123,14 +123,14 @@ static int fimc_is_sen_video_open(struct file *file)
NULL,
NULL);
if (ret) {
- merr("fimc_is_video_open is fail(%d)", vctx, ret);
+ merr("fimc_is_video_open failed(%d)", vctx, ret);
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_sensor_open(device, vctx);
if (ret) {
- merr("fimc_is_sen_open is fail(%d)", vctx, ret);
+ merr("fimc_is_sen_open failed(%d)", vctx, ret);
close_vctx(file, video, vctx);
goto p_err;
}
@@ -173,15 +173,15 @@ static int fimc_is_sen_video_close(struct file *file)
ret = fimc_is_sensor_close(device);
if (ret)
- err("fimc_is_sensor_close is fail(%d)", ret);
+ err("fimc_is_sensor_close failed(%d)", ret);
ret = fimc_is_video_close(vctx);
if (ret)
- err("fimc_is_video_close is fail(%d)", ret);
+ err("fimc_is_video_close failed(%d)", ret);
ret = close_vctx(file, video, vctx);
if (ret)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -206,7 +206,7 @@ static int fimc_is_sen_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -273,7 +273,7 @@ static int fimc_is_sen_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret) {
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
goto p_err;
}
@@ -282,7 +282,7 @@ static int fimc_is_sen_video_set_format_mplane(struct file *file, void *fh,
queue->framecfg.width,
queue->framecfg.height);
if (ret) {
- merr("fimc_is_sensor_s_format is fail(%d)", vctx, ret);
+ merr("fimc_is_sensor_s_format failed(%d)", vctx, ret);
goto p_err;
}
@@ -334,7 +334,7 @@ static int fimc_is_sen_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(error %d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(error %d)", vctx, ret);
return ret;
}
@@ -349,7 +349,7 @@ static int fimc_is_sen_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -366,7 +366,7 @@ static int fimc_is_sen_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
return ret;
}
@@ -386,7 +386,7 @@ static int fimc_is_sen_video_dqbuf(struct file *file, void *priv,
if (ret) {
blocking = file->f_flags & O_NONBLOCK;
if (!blocking || (ret != -EAGAIN))
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
}
return ret;
@@ -402,7 +402,7 @@ static int fimc_is_sen_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -417,7 +417,7 @@ static int fimc_is_sen_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -457,7 +457,7 @@ static int fimc_is_sen_video_s_input(struct file *file, void *priv,
ret = fimc_is_sensor_s_input(device, input, scenario);
if (ret) {
- merr("fimc_is_sensor_s_input is fail(%d)", device, ret);
+ merr("fimc_is_sensor_s_input failed(%d)", device, ret);
goto p_err;
}
@@ -506,13 +506,13 @@ static int fimc_is_sen_video_s_ctrl(struct file *file, void *priv,
if (sstream == IS_ENABLE_STREAM) {
ret = fimc_is_sensor_front_start(device, instant, noblock);
if (ret) {
- merr("fimc_is_sensor_front_start is fail(%d)", device, ret);
+ merr("fimc_is_sensor_front_start failed(%d)", device, ret);
goto p_err;
}
} else {
ret = fimc_is_sensor_front_stop(device);
if (ret) {
- merr("fimc_is_sensor_front_stop is fail(%d)", device, ret);
+ merr("fimc_is_sensor_front_stop failed(%d)", device, ret);
goto p_err;
}
}
@@ -526,13 +526,13 @@ static int fimc_is_sen_video_s_ctrl(struct file *file, void *priv,
ret = fimc_is_sensor_s_bns(device, ctrl->value);
if (ret) {
- merr("fimc_is_sensor_s_bns is fail(%d)", device, ret);
+ merr("fimc_is_sensor_s_bns failed(%d)", device, ret);
goto p_err;
}
ret = v4l2_subdev_call(subdev_flite, core, s_ctrl, ctrl);
if (ret) {
- merr("v4l2_flite_call(s_ctrl) is fail(%d)", device, ret);
+ merr("v4l2_flite_call(s_ctrl) failed(%d)", device, ret);
goto p_err;
}
break;
@@ -688,7 +688,7 @@ static int fimc_is_sen_video_s_parm(struct file *file, void *priv,
ret = fimc_is_sensor_s_framerate(device, parm);
if (ret) {
- merr("fimc_is_sen_s_framerate is fail(%d)", device, ret);
+ merr("fimc_is_sen_s_framerate failed(%d)", device, ret);
goto p_err;
}
@@ -744,7 +744,7 @@ static int fimc_is_sen_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -841,13 +841,13 @@ static void fimc_is_sen_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", device, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", device, ret);
return;
}
ret = fimc_is_sensor_buffer_queue(device, vb->v4l2_buf.index);
if (ret) {
- merr("fimc_is_sensor_buffer_queue is fail(%d)", device, ret);
+ merr("fimc_is_sensor_buffer_queue failed(%d)", device, ret);
return;
}
}
@@ -867,7 +867,7 @@ static void fimc_is_sen_buffer_finish(struct vb2_buffer *vb)
device,
vb->v4l2_buf.index);
if (ret)
- merr("fimc_is_sensor_buffer_finish is fail(%d)", device, ret);
+ merr("fimc_is_sensor_buffer_finish failed(%d)", device, ret);
}
const struct vb2_ops fimc_is_sen_qops = {
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdisc.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdisc.c
index 0cae490db99b..29631bc7c321 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdisc.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdisc.c
@@ -66,7 +66,7 @@ int fimc_is_vdc_video_probe(void *data)
&fimc_is_vdc_video_fops,
&fimc_is_vdc_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -93,7 +93,7 @@ static int fimc_is_vdc_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_INVALID, FRAMEMGR_ID_DIS);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -118,14 +118,14 @@ static int fimc_is_vdc_video_open(struct file *file)
NULL,
&fimc_is_ischain_sub_ops);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_subdev_open(&device->dis, vctx, NULL);
if (ret) {
- err("fimc_is_subdev_open is fail");
+ err("fimc_is_subdev_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -171,7 +171,7 @@ static int fimc_is_vdc_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -185,7 +185,7 @@ static unsigned int fimc_is_vdc_video_poll(struct file *file,
ret = fimc_is_video_poll(file, vctx, wait);
if (ret)
- merr("fimc_is_video_poll is fail(%d)", vctx, ret);
+ merr("fimc_is_video_poll failed(%d)", vctx, ret);
return ret;
}
@@ -198,7 +198,7 @@ static int fimc_is_vdc_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -244,7 +244,7 @@ static int fimc_is_vdc_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret)
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
dbg_vdisc("req w : %d req h : %d\n",
queue->framecfg.width,
@@ -307,7 +307,7 @@ static int fimc_is_vdc_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(%d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(%d)", vctx, ret);
p_err:
return ret;
@@ -323,7 +323,7 @@ static int fimc_is_vdc_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -340,7 +340,7 @@ static int fimc_is_vdc_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
return ret;
}
@@ -357,7 +357,7 @@ static int fimc_is_vdc_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
return ret;
}
@@ -372,7 +372,7 @@ static int fimc_is_vdc_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -387,7 +387,7 @@ static int fimc_is_vdc_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -547,7 +547,7 @@ static int fimc_is_vdc_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -587,7 +587,7 @@ static int fimc_is_vdc_start_streaming(struct vb2_queue *q,
ret = fimc_is_queue_start_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -614,7 +614,7 @@ static void fimc_is_vdc_stop_streaming(struct vb2_queue *q)
ret = fimc_is_queue_stop_streaming(queue, device, subdev, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_vdc_buffer_queue(struct vb2_buffer *vb)
@@ -632,13 +632,13 @@ static void fimc_is_vdc_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_subdev_buffer_queue(subdev, vb->v4l2_buf.index);
if (ret) {
- merr("fimc_is_subdev_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_subdev_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdiso.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdiso.c
index 5c0bd39d6c30..6e3786c0ca02 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdiso.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video-vdiso.c
@@ -67,7 +67,7 @@ int fimc_is_vdo_video_probe(void *data)
&fimc_is_vdo_video_fops,
&fimc_is_vdo_video_ioctl_ops);
if (ret)
- dev_err(&core->pdev->dev, "%s is fail(%d)\n", __func__, ret);
+ dev_err(&core->pdev->dev, "%s failed(%d)\n", __func__, ret);
p_err:
return ret;
@@ -94,7 +94,7 @@ static int fimc_is_vdo_video_open(struct file *file)
ret = open_vctx(file, video, &vctx, FRAMEMGR_ID_DIS_GRP, FRAMEMGR_ID_INVALID);
if (ret) {
- err("open_vctx is fail(%d)", ret);
+ err("open_vctx failed(%d)", ret);
goto p_err;
}
@@ -119,14 +119,14 @@ static int fimc_is_vdo_video_open(struct file *file)
&fimc_is_ischain_vdo_ops,
&fimc_is_ischain_sub_ops);
if (ret) {
- err("fimc_is_video_open is fail");
+ err("fimc_is_video_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
ret = fimc_is_ischain_vdo_open(device, vctx);
if (ret) {
- err("fimc_is_ischain_vdo_open is fail");
+ err("fimc_is_ischain_vdo_open failed");
close_vctx(file, video, vctx);
goto p_err;
}
@@ -172,7 +172,7 @@ static int fimc_is_vdo_video_close(struct file *file)
ret = close_vctx(file, video, vctx);
if (ret < 0)
- err("close_vctx is fail(%d)", ret);
+ err("close_vctx failed(%d)", ret);
p_err:
return ret;
@@ -186,7 +186,7 @@ static unsigned int fimc_is_vdo_video_poll(struct file *file,
ret = fimc_is_video_poll(file, vctx, wait);
if (ret)
- merr("fimc_is_video_poll is fail(%d)", vctx, ret);
+ merr("fimc_is_video_poll failed(%d)", vctx, ret);
return ret;
}
@@ -199,7 +199,7 @@ static int fimc_is_vdo_video_mmap(struct file *file,
ret = fimc_is_video_mmap(file, vctx, vma);
if (ret)
- merr("fimc_is_video_mmap is fail(%d)", vctx, ret);
+ merr("fimc_is_video_mmap failed(%d)", vctx, ret);
return ret;
}
@@ -252,7 +252,7 @@ static int fimc_is_vdo_video_set_format_mplane(struct file *file, void *fh,
ret = fimc_is_video_set_format_mplane(file, vctx, format);
if (ret)
- merr("fimc_is_video_set_format_mplane is fail(%d)", vctx, ret);
+ merr("fimc_is_video_set_format_mplane failed(%d)", vctx, ret);
dbg_vdiso("req w : %d req h : %d\n",
vctx->q_src->framecfg.width,
@@ -271,7 +271,7 @@ static int fimc_is_vdo_video_reqbufs(struct file *file, void *priv,
ret = fimc_is_video_reqbufs(file, vctx, buf);
if (ret)
- merr("fimc_is_video_reqbufs is fail(error %d)", vctx, ret);
+ merr("fimc_is_video_reqbufs failed(error %d)", vctx, ret);
return ret;
}
@@ -286,7 +286,7 @@ static int fimc_is_vdo_video_querybuf(struct file *file, void *priv,
ret = fimc_is_video_querybuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_querybuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_querybuf failed(%d)", vctx, ret);
return ret;
}
@@ -312,7 +312,7 @@ static int fimc_is_vdo_video_qbuf(struct file *file, void *priv,
ret = fimc_is_video_qbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_qbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_qbuf failed(%d)", vctx, ret);
p_err:
return ret;
@@ -330,7 +330,7 @@ static int fimc_is_vdo_video_dqbuf(struct file *file, void *priv,
ret = fimc_is_video_dqbuf(file, vctx, buf);
if (ret)
- merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret);
+ merr("fimc_is_video_dqbuf failed(%d)", vctx, ret);
return ret;
}
@@ -345,7 +345,7 @@ static int fimc_is_vdo_video_streamon(struct file *file, void *priv,
ret = fimc_is_video_streamon(file, vctx, type);
if (ret)
- merr("fimc_is_vdo_video_streamon is fail(%d)", vctx, ret);
+ merr("fimc_is_vdo_video_streamon failed(%d)", vctx, ret);
return ret;
}
@@ -360,7 +360,7 @@ static int fimc_is_vdo_video_streamoff(struct file *file, void *priv,
ret = fimc_is_video_streamoff(file, vctx, type);
if (ret)
- merr("fimc_is_video_streamoff is fail(%d)", vctx, ret);
+ merr("fimc_is_video_streamoff failed(%d)", vctx, ret);
return ret;
}
@@ -451,7 +451,7 @@ static int fimc_is_vdo_queue_setup(struct vb2_queue *vbq,
sizes,
allocators);
if (ret)
- merr("fimc_is_queue_setup is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_setup failed(%d)", vctx, ret);
return ret;
}
@@ -491,7 +491,7 @@ static int fimc_is_vdo_start_streaming(struct vb2_queue *q,
ret = fimc_is_queue_start_streaming(queue, device, leader, vctx);
if (ret)
- merr("fimc_is_queue_start_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_start_streaming failed(%d)", vctx, ret);
return ret;
}
@@ -518,7 +518,7 @@ static void fimc_is_vdo_stop_streaming(struct vb2_queue *q)
ret = fimc_is_queue_stop_streaming(queue, device, leader, vctx);
if (ret)
- merr("fimc_is_queue_stop_streaming is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_stop_streaming failed(%d)", vctx, ret);
}
static void fimc_is_vdo_buffer_queue(struct vb2_buffer *vb)
@@ -543,13 +543,13 @@ static void fimc_is_vdo_buffer_queue(struct vb2_buffer *vb)
ret = fimc_is_queue_buffer_queue(queue, video->vb2, vb);
if (ret) {
- merr("fimc_is_queue_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_queue_buffer_queue failed(%d)", vctx, ret);
return;
}
ret = fimc_is_ischain_vdo_buffer_queue(device, queue, index);
if (ret) {
- merr("fimc_is_ischain_vdo_buffer_queue is fail(%d)", vctx, ret);
+ merr("fimc_is_ischain_vdo_buffer_queue failed(%d)", vctx, ret);
return;
}
}
diff --git a/drivers/media/platform/exynos/fimc-is/fimc-is-video.c b/drivers/media/platform/exynos/fimc-is/fimc-is-video.c
index e18c01cec7ca..8bf058fa3f58 100644
--- a/drivers/media/platform/exynos/fimc-is/fimc-is-video.c
+++ b/drivers/media/platform/exynos/fimc-is/fimc-is-video.c
@@ -386,7 +386,6 @@ int open_vctx(struct file *file,
*vctx = kzalloc(sizeof(struct fimc_is_video_ctx), GFP_KERNEL);
if (*vctx == NULL) {
- err("kzalloc is fail");
ret = -ENOMEM;
*vctx = NULL;
goto exit;
@@ -394,7 +393,6 @@ int open_vctx(struct file *file,
q_src = kzalloc(sizeof(struct fimc_is_queue), GFP_KERNEL);
if (q_src == NULL) {
- err("kzalloc is fail(q_src)");
ret = -ENOMEM;
kfree(*vctx);
*vctx = NULL;
@@ -403,7 +401,6 @@ int open_vctx(struct file *file,
q_dst = kzalloc(sizeof(struct fimc_is_queue), GFP_KERNEL);
if (q_dst == NULL) {
- err("kzalloc is fail(q_dst)");
ret = -ENOMEM;
kfree(*vctx);
kfree(q_src);
@@ -611,7 +608,7 @@ set_info:
/* Create Kvaddr for Metadata */
queue->buf_kva[index][spare] = vb2->plane_kvaddr(vb, spare);
if (!queue->buf_kva[index][spare]) {
- err("plane_kvaddr is fail(%08X)", framemgr->id);
+ err("plane_kvaddr failed(%08X)", framemgr->id);
ret = -EINVAL;
goto exit;
}
@@ -630,7 +627,7 @@ set_info:
/* Create Kvaddr for frame sync */
queue->buf_kva[index][spare] = vb2->plane_kvaddr(vb, spare);
if (!queue->buf_kva[index][spare]) {
- err("plane_kvaddr is fail(%08X)", framemgr->id);
+ err("plane_kvaddr failed(%08X)", framemgr->id);
ret = -EINVAL;
goto exit;
}
@@ -688,7 +685,7 @@ void fimc_is_queue_wait_finish(struct vb2_queue *vbq)
video = vctx->video;
ret = mutex_lock_interruptible(&video->lock);
if (ret)
- err("mutex_lock_interruptible is fail(%d)", ret);
+ err("mutex_lock_interruptible failed(%d)", ret);
}
int fimc_is_queue_start_streaming(struct fimc_is_queue *queue,
@@ -717,7 +714,7 @@ int fimc_is_queue_start_streaming(struct fimc_is_queue *queue,
ret = CALL_QOPS(queue, start_streaming, device, subdev, queue);
if (ret) {
- merr("start_streaming is fail(%d)", vctx, ret);
+ merr("start_streaming failed(%d)", vctx, ret);
ret = -EINVAL;
goto p_err;
}
@@ -748,7 +745,7 @@ int fimc_is_queue_stop_streaming(struct fimc_is_queue *queue,
ret = CALL_QOPS(queue, stop_streaming, device, subdev, queue);
if (ret) {
- merr("stop_streaming is fail(%d)", vctx, ret);
+ merr("stop_streaming failed(%d)", vctx, ret);
ret = -EINVAL;
goto p_err;
}
@@ -842,7 +839,6 @@ int fimc_is_video_open(struct fimc_is_video_ctx *vctx,
q_src->vbq = kzalloc(sizeof(struct vb2_queue), GFP_KERNEL);
if (!q_src->vbq) {
- err("kzalloc is fail");
ret = -ENOMEM;
goto p_err;
}
@@ -859,7 +855,6 @@ int fimc_is_video_open(struct fimc_is_video_ctx *vctx,
q_dst->vbq = kzalloc(sizeof(struct vb2_queue), GFP_KERNEL);
if (!q_dst->vbq) {
- err("kzalloc is fail");
ret = -ENOMEM;
goto p_err;
}
@@ -877,14 +872,14 @@ int fimc_is_video_open(struct fimc_is_video_ctx *vctx,
q_src->vbq = kzalloc(sizeof(struct vb2_queue), GFP_KERNEL);
if (!q_src->vbq) {
- err("kzalloc is fail");
+ err("kzalloc failed");
ret = -ENOMEM;
goto p_err;
}
q_dst->vbq = kzalloc(sizeof(struct vb2_queue), GFP_KERNEL);
if (!q_dst->vbq) {
- err("kzalloc is fail");
+ err("kzalloc failed");
kfree(q_src->vbq);
ret = -ENOMEM;
goto p_err;
@@ -1033,7 +1028,7 @@ int fimc_is_video_reqbufs(struct file *file,
ret = vb2_reqbufs(queue->vbq, request);
if (ret) {
- err("vb2_reqbufs is fail(%d)", ret);
+ err("vb2_reqbufs failed(%d)", ret);
goto p_err;
}
@@ -1153,7 +1148,7 @@ int fimc_is_video_qbuf(struct file *file,
ret = vb2_qbuf(queue->vbq, buf);
if (ret) {
- merr("vb2_qbuf is fail(index : %d, %d)", vctx, buf->index, ret);
+ merr("vb2_qbuf failed(index : %d, %d)", vctx, buf->index, ret);
goto p_err;
}
diff --git a/drivers/media/platform/exynos/fimc-is/sensor/fimc-is-device-6d1.c b/drivers/media/platform/exynos/fimc-is/sensor/fimc-is-device-6d1.c
index 60ac264ae832..dce6d45a76af 100644
--- a/drivers/media/platform/exynos/fimc-is/sensor/fimc-is-device-6d1.c
+++ b/drivers/media/platform/exynos/fimc-is/sensor/fimc-is-device-6d1.c
@@ -289,13 +289,13 @@ static int sensor_6d1_s_stream(struct v4l2_subdev *subdev, int enable)
if (enable) {
ret = CALL_MOPS(sensor, stream_on, subdev);
if (ret < 0) {
- err("s_duration is fail(%d)", ret);
+ err("s_duration failed(%d)", ret);
goto p_err;
}
} else {
ret = CALL_MOPS(sensor, stream_off, subdev);
if (ret < 0) {
- err("s_duration is fail(%d)", ret);
+ err("s_duration failed(%d)", ret);
goto p_err;
}
}
@@ -344,7 +344,7 @@ static int sensor_6d1_s_param(struct v4l2_subdev *subdev, struct v4l2_streamparm
ret = CALL_MOPS(sensor, s_duration, subdev, duration);
if (ret) {
- err("s_duration is fail(%d)", ret);
+ err("s_duration failed(%d)", ret);
goto p_err;
}
@@ -393,7 +393,7 @@ int sensor_6d1_stream_on(struct v4l2_subdev *subdev)
ret = fimc_is_sensor_write8(client, 0x4100, 1);
if (ret < 0) {
- err("fimc_is_sensor_write8 is fail(%d)", ret);
+ err("fimc_is_sensor_write8 failed(%d)", ret);
goto p_err;
}
@@ -425,7 +425,7 @@ int sensor_6d1_stream_off(struct v4l2_subdev *subdev)
ret = fimc_is_sensor_write8(client, 0x4100, 0);
if (ret < 0) {
- err("fimc_is_sensor_write8 is fail(%d)", ret);
+ err("fimc_is_sensor_write8 failed(%d)", ret);
goto p_err;
}
diff --git a/drivers/media/platform/exynos/fimc-is/setup-fimc-is-sensor.c b/drivers/media/platform/exynos/fimc-is/setup-fimc-is-sensor.c
index 4c48ff1b08ca..3601929fc5f1 100644
--- a/drivers/media/platform/exynos/fimc-is/setup-fimc-is-sensor.c
+++ b/drivers/media/platform/exynos/fimc-is/setup-fimc-is-sensor.c
@@ -80,7 +80,7 @@ static int exynos_fimc_is_sensor_pin_control(struct platform_device *pdev,
s = (struct pinctrl_state *)pin_ctrls->pin;
ret = pinctrl_select_state(pinctrl, s);
if (ret < 0) {
- pr_err("%s: cam %s, state %p pinctrl_select_statee is failed\n", __func__, ch_name, s);
+ pr_err("%s: cam %s, state %p pinctrl_select_state failed\n", __func__, ch_name, s);
return ret;
}
@@ -92,7 +92,7 @@ static int exynos_fimc_is_sensor_pin_control(struct platform_device *pdev,
regulator = regulator_get(&pdev->dev, name);
if (IS_ERR_OR_NULL(regulator)) {
- pr_err("%s : regulator_get(%s) fail\n", __func__, name);
+ pr_err("%s : regulator_get(%s) failed\n", __func__, name);
return PTR_ERR(regulator);
}
@@ -100,12 +100,12 @@ static int exynos_fimc_is_sensor_pin_control(struct platform_device *pdev,
pr_info("%s : regulator_set_voltage(%d)\n",__func__, voltage);
ret = regulator_set_voltage(regulator, voltage, voltage);
if(ret) {
- pr_err("%s : regulator_set_voltage(%d) fail\n", __func__, ret);
+ pr_err("%s : regulator_set_voltage(%d) failed\n", __func__, ret);
}
}
ret = regulator_enable(regulator);
if (ret) {
- pr_err("%s : regulator_enable(%s) fail\n", __func__, name);
+ pr_err("%s : regulator_enable(%s) failed\n", __func__, name);
regulator_put(regulator);
return ret;
}
@@ -168,7 +168,7 @@ int exynos_fimc_is_sensor_pins_cfg(struct platform_device *pdev,
&pin_ctrls[scenario][enable][i],
pdata->csi_ch);
if (ret) {
- pr_err("exynos5_fimc_is_sensor_gpio(%lu, %s, %d, %d) is fail(%d)",
+ pr_err("exynos5_fimc_is_sensor_gpio(%lu, %s, %d, %d) failed(%d)",
pin_ctrls[scenario][enable][i].pin,
pin_ctrls[scenario][enable][i].name,
pin_ctrls[scenario][enable][i].act,