]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00293119 PXP: change the dma buffer lists management for PXP device
authorFancy Fang <B47543@freescale.com>
Fri, 20 Dec 2013 10:14:21 +0000 (18:14 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:09:20 +0000 (18:09 +0200)
commitf36328367173e247f32bd67e42d726b9439f5e99
tree9dd39b8f37a1545c8a3daf500efae349587cce39
parent7e62f51f242829f8e619abba35946caf7fc2257d
ENGR00293119 PXP: change the dma buffer lists management for PXP device

Create pxp_info struct data for each opened device file descriptor.
And bind all the allocated dma buffers to this struct for each opened
file. This makes the dma buffer lists management safer, more effective
and more flexible.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_device.c
include/linux/pxp_device.h
include/uapi/linux/pxp_device.h