summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-09-08 10:50:07 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 15:15:06 -0200
commitb08726bf2ea03d1eabf8908c70a3518fa502313b (patch)
tree5d0c89b5c1da5b62907a13dc223cc1b7541532ba /drivers/media/i2c
parentfbffb28f0337801d284d13c3a559e85697726afb (diff)
downloadlinux-0-day-b08726bf2ea03d1eabf8908c70a3518fa502313b.tar.gz
linux-0-day-b08726bf2ea03d1eabf8908c70a3518fa502313b.tar.xz
[media] smiapp-pll: Don't complain aloud about failing PLL calculation
Don't complain about a failure to compute the pre_pll divisor. The function is used to determine whether a particular combination of bits per sample value and a link frequency can be used, in which case there are lots of unnecessary driver messages. During normal operation the failure generally does not happen. Use dev_dbg() instead. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/smiapp-pll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c
index e3348db56c46e..771db56332b2c 100644
--- a/drivers/media/i2c/smiapp-pll.c
+++ b/drivers/media/i2c/smiapp-pll.c
@@ -479,7 +479,8 @@ int smiapp_pll_calculate(struct device *dev,
return 0;
}
- dev_info(dev, "unable to compute pre_pll divisor\n");
+ dev_dbg(dev, "unable to compute pre_pll divisor\n");
+
return rval;
}
EXPORT_SYMBOL_GPL(smiapp_pll_calculate);