Hi folks, Here's a small helper for getting the link frequency from the transmitter drivers. Besides being easy to use, it allows receiver drivers to work with old sensor drivers implementing just V4L2_CID_PIXEL_RATE control but not V4L2_CID_LINK_FREQ control. Using V4L2_CID_PIXEL_RATE is supported on parallel and CSI-2 D-PHY busses. Sakari Ailus (2): v4l: Add a helper for obtaining the link frequency ipu3-cio2: Use v4l2_get_link_freq helper drivers/media/pci/intel/ipu3/ipu3-cio2.c | 33 +++++++++--------------- drivers/media/v4l2-core/v4l2-common.c | 33 ++++++++++++++++++++++++ include/media/v4l2-common.h | 21 +++++++++++++++ 3 files changed, 66 insertions(+), 21 deletions(-) -- 2.27.0