]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: ccs-pll: Print missing PLL flags
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 16 Apr 2025 11:18:45 +0000 (14:18 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Apr 2025 08:15:17 +0000 (10:15 +0200)
Printing the OP_PIX_CLOCK_PER_LANE and NO_OP_CLOCKS CCS PLL flags is
missing, add them now.

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

index 16eb09462c8b2ab70bedc5839df21e1c97a441a8..ebbc5e3232444287a179f305aed951a01bbf6570 100644 (file)
@@ -124,7 +124,9 @@ static void print_pll(struct device *dev, const struct ccs_pll *pll)
        dev_dbg(dev, "pixel rate on CSI-2 bus:\t%u\n",
                pll->pixel_rate_csi);
 
-       dev_dbg(dev, "flags%s%s%s%s%s%s%s%s\n",
+       dev_dbg(dev, "flags%s%s%s%s%s%s%s%s%s%s\n",
+               pll->flags & PLL_FL(OP_PIX_CLOCK_PER_LANE) ? " op-pix-clock-per-lane" : "",
+               pll->flags & PLL_FL(NO_OP_CLOCKS) ? " no-op-clocks" : "",
                pll->flags & PLL_FL(LANE_SPEED_MODEL) ? " lane-speed" : "",
                pll->flags & PLL_FL(EXT_IP_PLL_DIVIDER) ?
                " ext-ip-pll-divider" : "",