OSDN Git Service

[media] vivid: use TPG_MAX_PLANES instead of hardcoding plane-arrays
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 7 Mar 2015 15:30:43 +0000 (12:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 23:30:16 +0000 (20:30 -0300)
commitc501abcfbfd75da44f35992d0da39af92860fb01
treef5c8bb25fa2320f9c3ad79ecb4ce683d5e6b2649
parenta94e7d6e825ac20f17436477120fb3fd8a755ebf
[media] vivid: use TPG_MAX_PLANES instead of hardcoding plane-arrays

Two arrays of size 'max number of planes' have a hardcoded size instead
of using TPG_MAX_PLANES. Fix that, since TPG_MAX_PLANES will be increased
later on.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-core.h