diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-16 15:18:25 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 12:19:24 -0200 |
commit | 430a672c83c3e2e9a96c777a874f345c8d21f929 (patch) | |
tree | 030193cd30edadb67ae63b9df1301b04ef68349b /drivers/media | |
parent | 630c0e80c984c0a9a325430d62770fd49f93f9b9 (diff) | |
download | op-kernel-dev-430a672c83c3e2e9a96c777a874f345c8d21f929.zip op-kernel-dev-430a672c83c3e2e9a96c777a874f345c8d21f929.tar.gz |
[media] media-entity: increase max number of PADs
The DVB drivers may have 257 PADs. Get the next power of two
that would accomodate that amount.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/media-entity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index f63be23..eb38bc3 100644 --- a/drivers/media/media-entity.c +++ b/drivers/media/media-entity.c @@ -261,7 +261,7 @@ static struct media_entity *stack_pop(struct media_entity_graph *graph) /* * TODO: Get rid of this. */ -#define MEDIA_ENTITY_MAX_PADS 63 +#define MEDIA_ENTITY_MAX_PADS 512 /** * media_entity_graph_walk_init - Allocate resources for graph walk |