aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-davinci.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2021-07-20 14:38:26 +0100
committerKonrad Rzeszutek Wilk <[email protected]>2021-07-23 20:18:02 -0400
commitad6c00283163cb7ad52cdf97d2850547446f7d98 (patch)
treecd71502ab4a48cc3887907e07276359d94a01b71 /drivers/gpio/gpio-davinci.c
parent1efd3fc0ccf52e1aa5f0bf5b0d82847180d20951 (diff)
swiotlb: Free tbl memory in swiotlb_exit()
Although swiotlb_exit() frees the 'slots' metadata array referenced by 'io_tlb_default_mem', it leaves the underlying buffer pages allocated despite no longer being usable. Extend swiotlb_exit() to free the buffer pages as well as the slots array. Cc: Claire Chang <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Robin Murphy <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Tested-by: Claire Chang <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions