aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2017-01-02 12:07:37 +0200
committerVinod Koul <[email protected]>2017-01-03 09:10:15 +0530
commit836c3ce2566fb8c1754f8d7c9534cad9bc8a6879 (patch)
tree39bfba211de861967ec4aac060cfda19c016335f /tools/perf/scripts/python/call-graph-from-postgresql.py
parent75bdc7f31a3a6e9a12e218b31a44a1f54a91554c (diff)
dmaengine: omap-dma: Fix dynamic lch_map allocation
The original patch did not done what it was supposed to be doing and even worst it broke legacy boot (OMAP1). The lch_map size should be the number of available logical channels in sDMA and the od->dma_requests should store the number of available DMA request lines usable in sDMA. In legacy mode we do not have a way to get the DMA request count, in that case we use OMAP_SDMA_REQUESTS (127), despite the fact that OMAP1510 have only 31 DMA request line. Fixes: 2d1a9a946fae ("dmaengine: omap-dma: Dynamically allocate memory for lch_map") Reported-by: Aaro Koskinen <[email protected]> Cc: [email protected] # v4.9 Signed-off-by: Peter Ujfalusi <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions