[media] smiapp-pll: Don't complain aloud about failing PLL calculation
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Sep 2016 13:50:07 +0000 (10:50 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:15:06 +0000 (15:15 -0200)
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>
drivers/media/i2c/smiapp-pll.c

index e3348db56c46e2101ed0fcc0b7220800a47068b0..771db56332b2cad211d948950fabce15332156fb 100644 (file)
@@ -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);