diff options
-rw-r--r-- | drivers/media/video/omap/omap_voutlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/omap/omap_voutlib.c b/drivers/media/video/omap/omap_voutlib.c index 05c0e17eec39..e47546404d74 100644 --- a/drivers/media/video/omap/omap_voutlib.c +++ b/drivers/media/video/omap/omap_voutlib.c @@ -23,6 +23,7 @@ #include <linux/kernel.h> #include <linux/types.h> #include <linux/videodev2.h> +#include <plat/cpu.h> MODULE_AUTHOR("Texas Instruments"); MODULE_DESCRIPTION("OMAP Video library"); @@ -172,7 +173,7 @@ int omap_vout_new_crop(struct v4l2_pix_format *pix, if (try_crop.width <= 0 || try_crop.height <= 0) return -EINVAL; - if (crop->height != win->w.height) { + if (cpu_is_omap24xx() && crop->height != win->w.height) { /* If we're resizing vertically, we can't support a crop width * wider than 768 pixels. */ |