media: i2c: Add ov7251_pll_configure()
authorDaniel Scally <djrscally@gmail.com>
Tue, 15 Feb 2022 23:07:32 +0000 (23:07 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:43 +0000 (16:04 +0000)
commit08cd8186d74f68e95ba6d1baf221422ad666c1cf
treebc0752c3585b327b7b104865fcf0011bd4efe093
parent062f6f4464f06d947d46ca2eb50fb83cc1e5f863
media: i2c: Add ov7251_pll_configure()

Rather than having the pll settings hidden inside mode blobs, define
them in structs and use a dedicated function to set them. This makes
it simpler to extend the driver to support other external clock
frequencies.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
drivers/media/i2c/ov7251.c