aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2019-08-31 12:00:24 +0200
committerBartlomiej Zolnierkiewicz <[email protected]>2020-01-03 14:27:42 +0100
commit3c911fe799d1c338d94b78e7182ad452c37af897 (patch)
tree700b16ba7f4584d338603b4603398e4ae4becb2d /tools/perf/scripts/python/stackcollapse.py
parentab1c4c5e9d111a867964f4a67d9ab4a564d16b90 (diff)
pxa168fb: Fix the function used to release some memory in an error handling path
In the probe function, some resources are allocated using 'dma_alloc_wc()', they should be released with 'dma_free_wc()', not 'dma_free_coherent()'. We already use 'dma_free_wc()' in the remove function, but not in the error handling path of the probe function. Also, remove a useless 'PAGE_ALIGN()'. 'info->fix.smem_len' is already PAGE_ALIGNed. Fixes: 638772c7553f ("fb: add support of LCD display controller on pxa168/910 (base layer)") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Lubomir Rintel <[email protected]> CC: YueHaibing <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions