OSDN Git Service

media: mt9p031: Read back the real clock rate
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Mon, 26 Jul 2021 07:35:13 +0000 (09:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:35 +0000 (10:07 +0200)
commitb9c18096f5948aae9c792aee9f355bfd64452569
tree2bf1108b3ac464798b50c20c348f02f4bb8c5e83
parent10aacfecee366b7a8fc1f70e19a711ab444ee370
media: mt9p031: Read back the real clock rate

The real and requested clock can differ and because it is used to
calculate PLL values, the real clock rate should be read.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/mt9p031.c