[PATCH] dmaengine: amba-pl08x: make filter check that the channel is owned by pl08x

Vinod Koul vinod.koul at linux.intel.com
Mon Sep 5 09:30:14 EDT 2011


On Wed, 2011-08-31 at 09:34 +0100, Russell King - ARM Linux wrote:
> Before converting the dma channel to our private data structure, first
> check that the channel is indeed one which our driver registered.  We
> do this by ensuring that the underlying device is bound to our driver.
> 
> This avoids potential oopses if we try to reference 'plchan->name'
> against a foreign drivers dma channel.
> 
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
Applied, Thanks

-- 
~Vinod




More information about the linux-arm-kernel mailing list