summaryrefslogtreecommitdiff
path: root/lib/klist.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2014-06-27 06:28:31 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-21 15:00:56 -0300
commit69b9fe22b19b31d9de96d4a181f7206fd29ab743 (patch)
tree6ec02bbe1ef256cd4b1f0457e91d97c7c6c8cf00 /lib/klist.c
parent0ca1ba2aac5f6b26672099b13040c5b40db93486 (diff)
[media] s5p: fix error code path when failing to allocate DMA memory
In the s5p_mfc_alloc_firmware() function there are some mistakes where the code checks whether the DMA memory is properly allocated or not. First of all dma_alloc_coherent() returns NULL in case of error. The code also checked two times fw_virt_addr, ignoring the bank2_virt pointer. Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions