From: Russell King - ARM Linux Date: Wed, 31 Aug 2011 08:34:35 +0000 (+0100) Subject: dmaengine: amba-pl08x: make filter check that the channel is owned by pl08x X-Git-Tag: v3.2-rc1~47^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7703eac96abd119dcfbb04f287a5127462d18269;p=pandora-kernel.git dmaengine: amba-pl08x: make filter check that the channel is owned by pl08x 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed