From: Dan Carpenter Date: Fri, 23 Aug 2013 08:36:56 +0000 (-0300) Subject: [media] exynos4-is: Print error message on timeout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=915b034f81da8e2b6ebcfde8540d2d4ea5d6c133;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/exynos4-is/fimc-is-regs.c b/drivers/media/platform/exynos4-is/fimc-is-regs.c index cf2e13a45638..f758e2694fa3 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-regs.c +++ b/drivers/media/platform/exynos4-is/fimc-is-regs.c @@ -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;