media: video: tegra: sh532u: fix macro focus
Erik Lilliebjerg [Mon, 8 Aug 2011 11:49:36 +0000 (04:49 -0700)]
bug 860561

Original-Change-Id: I68288334ba296bdbf7ff516f78bc9f5af91935e0
Reviewed-on: http://git-master/r/45821
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>

Rebase-Id: R8002e05e8fa0b7ac10df4d9f51c3ff87828a0a08

drivers/media/video/tegra/sh532u.c

index 1ee2832..ee3e67f 100644 (file)
@@ -575,7 +575,7 @@ static long sh532u_ioctl(
                if (ret)
                        return ret;
 
-               if (StereoCameraMode_Stereo & stereo_info->camera_mode) {
+               if (stereo_info->camera_mode == StereoCameraMode_Stereo) {
                        /* To be finalized for stereo */
                        if (cmd != SH532U_IOCTL_GET_CONFIG)
                                ret = sh532u_ioctl_helper(stereo_info->right,