media: s5p-jpeg: Correct WARN_ON statement for checking subsampling
authorTony K Nadackal <tony.kn@samsung.com>
Fri, 30 Jun 2017 14:15:41 +0000 (10:15 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 26 Jul 2017 12:29:24 +0000 (08:29 -0400)
commitfa3cb90bdfc64122f50ce9c1a6090cb720361463
tree8fa898d340e646f94de447c724320262ca708151
parent5ea3bf28ed4a261e281642d140652b00fd64338c
media: s5p-jpeg: Correct WARN_ON statement for checking subsampling

Correct the WARN_ON statement for subsampling based on the
JPEG hardware version.

Signed-off-by: Tony K Nadackal <tony.kn@samsung.com>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Acked-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-jpeg/jpeg-core.c