include: media: Add max fps properties
Bhanu Murthy V [Thu, 7 Jul 2016 01:22:12 +0000 (18:22 -0700)]
Add maxfps default and current format fields
to camera common data to identify proper
sensor mode id.

Bug 1769654

Change-Id: I10b09b437a97f80f16d5e625b50a99bc819c4670
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1176483
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>

include/media/camera_common.h

index 07328f9..6f9ed3e 100644 (file)
@@ -175,9 +175,9 @@ struct camera_common_data {
        int     mode;
        int     numfmts;
        int     num_color_fmts;
-       int     def_mode, def_width, def_height;
+       int     def_mode, def_width, def_height, def_maxfps;
        int     def_clk_freq;
-       int     fmt_width, fmt_height;
+       int     fmt_width, fmt_height, fmt_maxfps;
 };
 
 struct camera_common_focuser_data;