Hi folks, This set adds a little helper for sensor drivers to match link frequencies from system firmware with those supported the driver and generate a bitmap suitable for passing to the control framework. Imx319, imx334 and imx355 drivers are converted to use the helper, too. I've tested imx319 and imx355 drivers. Sakari Ailus (4): media: v4l: Add a helper for setting up link-frequencies control media: imx334: Use v4l2_link_frequencies_to_bitmap helper media: imx319: Use v4l2_link_frequencies_to_bitmap helper media: imx355: Use v4l2_link_frequencies_to_bitmap helper drivers/media/i2c/imx319.c | 53 +++++++-------------------- drivers/media/i2c/imx334.c | 41 +++++++-------------- drivers/media/i2c/imx355.c | 53 +++++++-------------------- drivers/media/v4l2-core/v4l2-common.c | 48 ++++++++++++++++++++++++ include/media/v4l2-common.h | 27 ++++++++++++++ 5 files changed, 116 insertions(+), 106 deletions(-) -- 2.39.2