[media] media-entity: increase max number of PADs
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 16 Dec 2015 17:18:25 +0000 (15:18 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:24 +0000 (12:19 -0200)
commit430a672c83c3e2e9a96c777a874f345c8d21f929
tree030193cd30edadb67ae63b9df1301b04ef68349b
parent630c0e80c984c0a9a325430d62770fd49f93f9b9
[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>
drivers/media/media-entity.c