atomisp/css: fix return type of sh_css.c:check_infos_match
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 24 Nov 2011 09:34:29 +0000 (11:34 +0200)
committerbuildbot <buildbot@intel.com>
Thu, 16 Feb 2012 16:18:05 +0000 (08:18 -0800)
BZ: 23514

The return type should be enum. Currently the boolean is used that is
incorrect.

Change-Id: Ia88db94019998d3d5dd1677f97580ff2941350fc
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/34933
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/atomisp/css/sh_css.c

index 28a7dd3..b4de302 100644 (file)
@@ -452,7 +452,7 @@ check_input(bool must_be_raw)
    For the padded width however, we do check equility because this is
    not expected to differ. A difference there would indicate an erroneous
    situation. */
-static bool
+static enum sh_css_err
 check_infos_match(struct sh_css_frame_info *frame_info,
                  struct sh_css_frame_info *binary_info)
 {