Merge tag 'pm+acpi-4.1-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / ipu-v3 / ipu-ic.c
index ad75588e162988ff64c11aea6287868e0606d8cb..1dcb96ccda660f17a2f6fdd436d6474a115ac156 100644 (file)
@@ -297,8 +297,8 @@ static int calc_resize_coeffs(struct ipu_ic *ic,
                return -EINVAL;
        }
 
-       /* Cannot downsize more than 8:1 */
-       if ((out_size << 3) < in_size) {
+       /* Cannot downsize more than 4:1 */
+       if ((out_size << 2) < in_size) {
                dev_err(ipu->dev, "Unsupported downsize\n");
                return -EINVAL;
        }