[PATCH 0/4] soc-camera: fix the bug which will fail to search the registered v4l2-clk
From: Josh Wu
Date: Wed Oct 28 2015 - 05:42:34 EST
This patch set will fix a bug in soc-camera, which will fail to search
the v4l2-clk if the i2c sensor is probed later than soc-camera host.
It also add some clean up for v4l2-clk code and usage.
Josh Wu (4):
soc_camera: get the clock name by using macro: v4l2_clk_name_i2c()
v4l2-clk: add new macro for v4l2_clk_name_of()
v4l2-clk: add new definition: V4L2_CLK_NAME_SIZE
v4l2-clk: v4l2_clk_get() also need to find the of_fullname clock
drivers/media/platform/soc_camera/soc_camera.c | 23 ++++++++++++-----------
drivers/media/usb/em28xx/em28xx-camera.c | 2 +-
drivers/media/v4l2-core/v4l2-clk.c | 9 +++++++++
include/media/v4l2-clk.h | 5 +++++
4 files changed, 27 insertions(+), 12 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/