diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2022-09-10 01:13:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-22 16:52:30 +0300 |
commit | 6ba8b8d45335180523df8f1b6cd1c995a3dbf560 (patch) | |
tree | cc1bb48adb9e162d1d6f65b43a728c91bc48271e /drivers/thunderbolt/icm.c | |
parent | d225ea95e9f9be04914f51aaabab7ed04097cd4e (diff) | |
download | linux-6ba8b8d45335180523df8f1b6cd1c995a3dbf560.tar.xz |
media: v4l: move helper functions for fractions from uvc to v4l2-common
The functions uvc_simplify_fraction and uvc_fraction_to_interval are
generic helpers which are also useful for other v4l2 drivers. This patch
moves them to v4l2-common.
Tested-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220909221335.15033-2-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/icm.c')
0 files changed, 0 insertions, 0 deletions