diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-04-29 10:45:05 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-06-01 15:15:22 +0200 |
commit | 499a2c41b954518c372873202d5e7714e22010c4 (patch) | |
tree | a7f3e1de898e98b66f54164782db17df580abb0f /mm/ptdump.c | |
parent | d43be2554b58621a21cb5f54b32db2263b3008b6 (diff) | |
download | linux-499a2c41b954518c372873202d5e7714e22010c4.tar.bz2 |
video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call
'dma_alloc_coherent()' must be balanced by a call to 'dma_free_coherent()'
not 'dma_free_wc()'.
The correct dma_free_ function is already used in the error handling path
of the probe function.
Fixes: 77e196752bdd ("[ARM] pxafb: allow video memory size to be configurable")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Jani Nikula <jani.nikula@intel.com>
cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Cc: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429084505.108897-1-christophe.jaillet@wanadoo.fr
Diffstat (limited to 'mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions