]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1cbae825a497bd7536c879f34eb629775a23ea95
tree030193cd30edadb67ae63b9df1301b04ef68349b
parent5a6c5a39520173c2e0f2feaea512c580deb22bb5
[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