drm: atmel-hlcdc: Fix vertical scaling
authorJan Leupold <leupold@rsi-elektrotechnik.de>
Wed, 6 Jul 2016 11:22:35 +0000 (13:22 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 6 Sep 2016 12:46:16 +0000 (14:46 +0200)
commitd31ed3f05763644840c654a384eaefa94c097ba2
tree78895605df0e036e8b80845aa5669bd86fb3fdab
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
drm: atmel-hlcdc: Fix vertical scaling

The code is applying the same scaling for the X and Y components,
thus making the scaling feature only functional when both components
have the same scaling factor.

Do the s/_w/_h/ replacement where appropriate to fix vertical scaling.

Signed-off-by: Jan Leupold <leupold@rsi-elektrotechnik.de>
Fixes: 1a396789f65a2 ("drm: add Atmel HLCDC Display Controller support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c