]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: ccs-pll: Print a debug message when VT tree calculation fails
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 27 Apr 2025 22:13:32 +0000 (01:13 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 6 May 2025 11:06:29 +0000 (13:06 +0200)
commitac6fb0d8f98810f628e0539f4671d6e71fbf7053
tree9b0b95c5c53bdf05f5c13209916c5540278a9823
parente3d86847fba58cf71f66e81b6a2515e07039ae17
media: ccs-pll: Print a debug message when VT tree calculation fails

When the VT tree calculation fails to find a valid pre-divider, the
ccs_pll_calculate_vt_tree() function returns an error silently, and the
caller doesn't print any message either. This makes debugging PLL
calculation issues more difficult. Add a debug message to report the
issue, and amend the corresponding message for the OP tree to mention
"OP".

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/ccs-pll.c