media: vsp1: Remove artificial minimum width/height limitation
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 31 Aug 2018 14:40:39 +0000 (10:40 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 18:52:49 +0000 (14:52 -0400)
commit8a7db6475e2893c11293b1cb2c894245912568f3
treef73e359481c5148df634a9e48caa6b337ebbdc83
parent9b2798d5b71c50f64c41a40f0cbcae47c3fbd067
media: vsp1: Remove artificial minimum width/height limitation

The VSP1 has a minimum width and height of a single pixel, with the
exception of pixel formats with sub-sampling.

Remove the artificial minimum width and minimum height limitation, and
instead clamp the minimum dimensions based upon the sub-sampling
parameter of that dimension.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_video.c