diff options
author | Russell King - ARM Linux <[email protected]> | 2011-08-31 09:34:35 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2011-09-05 18:57:38 +0530 |
commit | 7703eac96abd119dcfbb04f287a5127462d18269 (patch) | |
tree | 75de31e4ddfe8f1899b7547d40e84be6d5b4face /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 503473ac2a3952e6af254b0769fe788a67d797e5 (diff) |
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 <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions