Explorar el Código

[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>
Mauro Carvalho Chehab hace 9 años
padre
commit
430a672c83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/media/media-entity.c

+ 1 - 1
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