summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sh-sci.c
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-08-31 10:34:35 +0200
committerVinod Koul <vinod.koul@intel.com>2011-09-05 15:27:38 +0200
commit7703eac96abd119dcfbb04f287a5127462d18269 (patch)
tree75de31e4ddfe8f1899b7547d40e84be6d5b4face /drivers/tty/serial/sh-sci.c
parentdmaengine/ste_dma40: fix memory leak due to prepared descriptors (diff)
downloadlinux-7703eac96abd119dcfbb04f287a5127462d18269.tar.xz
linux-7703eac96abd119dcfbb04f287a5127462d18269.zip
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 <rmk+kernel@arm.linux.org.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
0 files changed, 0 insertions, 0 deletions