diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-09-08 10:50:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-21 15:15:06 -0200 |
commit | b08726bf2ea03d1eabf8908c70a3518fa502313b (patch) | |
tree | 5d0c89b5c1da5b62907a13dc223cc1b7541532ba /drivers | |
parent | fbffb28f0337801d284d13c3a559e85697726afb (diff) | |
download | op-kernel-dev-b08726bf2ea03d1eabf8908c70a3518fa502313b.zip op-kernel-dev-b08726bf2ea03d1eabf8908c70a3518fa502313b.tar.gz |
[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')
-rw-r--r-- | drivers/media/i2c/smiapp-pll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c index e3348db..771db56 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); |