[PORT FROM R2] atomisp: set sensor's binning factor to ISP before streaming
authorDavid Cohen <david.a.cohen@intel.com>
Wed, 2 Nov 2011 19:35:36 +0000 (21:35 +0200)
committerbuildbot <buildbot@intel.com>
Mon, 19 Dec 2011 13:29:25 +0000 (05:29 -0800)
commitf5703097c55a585702f94156bf2101e1143e9e41
tree9b910bb3f2b4982a182567b1e20297c81f2628de
parentceaf56c992366aad6edb05a3e588f730a901407d
[PORT FROM R2] atomisp: set sensor's binning factor to ISP before streaming

BZ: 17272

When Atomisp changes sensor's format, it needs to ask for sensor's
binning factor which necessary for internal operations. This patch
implements such functionality.

Change-Id: I0a2f47f58da270c6f62b08c6f3d4534da17e0113
Orig-Change-Id: Id5754ad893b0e91628f6407b650f0532cb6fc52f
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/22979
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/28000
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
drivers/media/video/atomisp/atomisp_cmd.c