From b75ba945691ed54f2856c8bf54acf4ad452f2366 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 13 Mar 2009 06:08:20 -0300 Subject: [PATCH] --- yaml --- r: 138172 b: refs/heads/master c: 28f59339f72d191e24e0f97f156a481dd5c3db65 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/media/soc_camera.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e148c7bbf780..c3a51cdf12bd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 97215cbd1bc3cc32a2a1b3a94b003c3cbcf95683 +refs/heads/master: 28f59339f72d191e24e0f97f156a481dd5c3db65 diff --git a/trunk/include/media/soc_camera.h b/trunk/include/media/soc_camera.h index 013c81875d76..b44fa0952ad9 100644 --- a/trunk/include/media/soc_camera.h +++ b/trunk/include/media/soc_camera.h @@ -102,6 +102,13 @@ struct soc_camera_link { /* Optional callbacks to power on or off and reset the sensor */ int (*power)(struct device *, int); int (*reset)(struct device *); + /* + * some platforms may support different data widths than the sensors + * native ones due to different data line routing. Let the board code + * overwrite the width flags. + */ + int (*set_bus_param)(struct soc_camera_link *, unsigned long flags); + unsigned long (*query_bus_param)(struct soc_camera_link *); }; static inline struct soc_camera_device *to_soc_camera_dev(struct device *dev)