]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1eeec23b9b6908eb4d6e41aaf0f93d669fd000d3
treef5c8bb25fa2320f9c3ad79ecb4ce683d5e6b2649
parentf0849f67b7ef1fc00882b8d148e7c7f55207d2f4
[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