media: s5p-jpeg: set w/h when encoding
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 11 Aug 2017 11:50:01 +0000 (07:50 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:00:20 +0000 (08:00 -0400)
commit19dc3e08663767545181e32d4386d2bf3fd13ef8
treef9211ce8e687fba2581ac1f861006e23f6a565fb
parent65d5c96dd8c1c87003a073f3d0dd67ac09d28766
media: s5p-jpeg: set w/h when encoding

q_data w/h must be set when encoding.

Fixes: 1c84e7f9d5dc596be (media: s5p-jpeg: Add support for resolution change event)

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.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