[media] exynos4-is: Print error message on timeout
There is a stray '!' character so the error message never gets printed. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
3263f741e4
commit
915b034f81
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ int fimc_is_itf_mode_change(struct fimc_is *is)
|
|||
fimc_is_hw_change_mode(is);
|
||||
ret = fimc_is_wait_event(is, IS_ST_CHANGE_MODE, 1,
|
||||
FIMC_IS_CONFIG_TIMEOUT);
|
||||
if (!ret < 0)
|
||||
if (ret < 0)
|
||||
dev_err(&is->pdev->dev, "%s(): mode change (%d) timeout\n",
|
||||
__func__, is->config_index);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue