linux/drivers/media/platform
Vladimir Zapolskiy 7385817359 genalloc: add name arg to gen_pool_get() and devm_gen_pool_create()
This change modifies gen_pool_get() and devm_gen_pool_create() client
interfaces adding one more argument "name" of a gen_pool object.

Due to implementation gen_pool_get() is capable to retrieve only one
gen_pool associated with a device even if multiple gen_pools are created,
fortunately right at the moment it is sufficient for the clients, hence
provide NULL as a valid argument on both producer devm_gen_pool_create()
and consumer gen_pool_get() sides.

Because only one created gen_pool per device is addressable, explicitly
add a restriction to devm_gen_pool_create() to create only one gen_pool
per device, this implies two possible error codes returned by the
function, account it on client side (only misc/sram).  This completes
client side changes related to genalloc updates.

[akpm@linux-foundation.org: gen_pool_get() cleanup]
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-04 16:54:41 -07:00
..
am437x [media] am437x-vpfe: add support for xfer_func 2015-06-05 11:48:32 -03:00
blackfin [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
coda genalloc: add name arg to gen_pool_get() and devm_gen_pool_create() 2015-09-04 16:54:41 -07:00
davinci [media] media: davinci: vpbe: use v4l2_get_timestamp() 2015-06-05 06:36:23 -03:00
exynos4-is treewide: fix typos in comment blocks 2015-08-07 14:46:24 +02:00
exynos-gsc [media] media: platform: exynos-gsc: Constify platform_device_id 2015-05-12 03:48:01 -03:00
marvell-ccic [media] marvell-ccic: fix RGB444 format 2015-05-12 04:04:26 -03:00
omap [media] omap_vout: use swap() in omapvid_init() 2015-06-06 07:32:03 -03:00
omap3isp [media] omap3isp: remove unused var 2015-06-24 08:38:29 -03:00
s3c-camif [media] media: platform: s3c-camif: Constify platform_device_id 2015-05-12 03:48:58 -03:00
s5p-g2d [media] media: platform: s5p: Constify platform_device_id 2015-05-12 03:49:22 -03:00
s5p-jpeg Merge branch 'patchwork' into v4l_for_linus 2015-04-21 06:12:35 -03:00
s5p-mfc treewide: Fix typo in printk 2015-08-07 13:58:05 +02:00
s5p-tv [media] media: platform: s5p: Constify platform_device_id 2015-05-12 03:49:22 -03:00
soc_camera [media] rcar-vin: use monotonic timestamps 2015-05-18 16:27:30 -03:00
sti/bdisp [media] bdisp: prevent compiling on random arch 2015-06-22 12:56:19 -03:00
ti-vpe
vivid [media] vivid: Use interlaced info for cvt/gtf timing detection 2015-06-09 17:45:05 -03:00
vsp1 [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
xilinx [media] v4l: xilinx: harmless buffer overflow 2015-05-13 16:26:48 -03:00
arv.c
fsl-viu.c [media] constify of_device_id array 2015-05-12 03:58:16 -03:00
Kconfig Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-06-26 13:18:51 -07:00
m2m-deinterlace.c [media] m2m-deinterlace: remove dead code 2015-05-01 06:29:50 -03:00
Makefile [media] bdisp: 2D blitter driver using v4l2 mem2mem framework 2015-06-09 18:10:41 -03:00
mx2_emmaprp.c
sh_veu.c [media] sh_veu: v4l2_dev wasn't set 2015-04-01 06:56:55 -03:00
sh_vou.c [media] sh_vou: avoid going past arrays 2015-06-05 08:19:50 -03:00
timblogiw.c
via-camera.c [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
via-camera.h
vim2m.c [media] vim2m: add create_bufs and prepare_buf support 2015-06-09 17:27:38 -03:00