Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
b08726bf fbffb28f

+2 -1
+2 -1
drivers/media/i2c/smiapp-pll.c
··· 479 479 return 0; 480 480 } 481 481 482 - dev_info(dev, "unable to compute pre_pll divisor\n"); 482 + dev_dbg(dev, "unable to compute pre_pll divisor\n"); 483 + 483 484 return rval; 484 485 } 485 486 EXPORT_SYMBOL_GPL(smiapp_pll_calculate);