Commit 430a672c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 630c0e80
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment