]> Git Repo - J-linux.git/commitdiff
media: ccs-pll: Print pixel rates
authorSakari Ailus <[email protected]>
Wed, 23 Sep 2020 11:13:34 +0000 (13:13 +0200)
committerMauro Carvalho Chehab <[email protected]>
Mon, 7 Dec 2020 16:04:53 +0000 (17:04 +0100)
Print pixel rates on CSI-2 bus as well as in pixel array as the variation
allowed in PLL capabilities makes this non-trivial to figure out
otherwise.

Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/i2c/ccs-pll.c

index 5a0162347777994504cc257f24a7b8a3424d128e..eb7b6f01f6231ccbdb1d32f463be79ab34e9b3af 100644 (file)
@@ -119,6 +119,11 @@ static void print_pll(struct device *dev, struct ccs_pll *pll)
                }
        }
 
+       dev_dbg(dev, "pixel rate in pixel array:\t%u\n",
+               pll->pixel_rate_pixel_array);
+       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%s\n",
                pll->flags & PLL_FL(LANE_SPEED_MODEL) ? " lane-speed" : "",
                pll->flags & PLL_FL(LINK_DECOUPLED) ? " link-decoupled" : "",
This page took 0.046558 seconds and 4 git commands to generate.