Skip to content

Commit

Permalink
[media] media-entity: increase max number of PADs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mchehab committed Jan 11, 2016
1 parent 630c0e8 commit 430a672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/media-entity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 430a672

Please sign in to comment.