[media] v4l: s5p-tv: mixer: fix setup of VP scaling
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Fri, 25 Nov 2011 08:56:18 +0000 (05:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 01:19:40 +0000 (23:19 -0200)
commit392d9e1d02edcbe9bc94bc292dd364339556f8ec
tree169fb3f23dad76b908cdc9c3b6ec892f75e740f9
parent0d066d3f6fdfd189bef5fe653477f5f9db2eb225
[media] v4l: s5p-tv: mixer: fix setup of VP scaling

Adjusting of Video Processor's scaling factors was flawed. It bounded scaling
to range 1/16 to 1/1. The correct range should be 1/4 to 4/1. This patch fixes
this bug.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-tv/mixer_vp_layer.c