diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2015-05-28 15:07:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-12 17:26:57 -0700 |
commit | b2383c90a9d691201b9aee557776694cde86a935 (patch) | |
tree | 104fd035675582583bd257cd016e92ab9c7006b8 /tools/vm | |
parent | f656eaee6368198f596ae5b8754494ec2b179a16 (diff) | |
download | linux-b2383c90a9d691201b9aee557776694cde86a935.tar.gz linux-b2383c90a9d691201b9aee557776694cde86a935.tar.bz2 linux-b2383c90a9d691201b9aee557776694cde86a935.zip |
vme: tsi148: fix first DMA item mapping
This moves DMA mapping of the first list element to vme_list_add, the
same place where other elements mappings occur. This prevents extra
mapping or over-unmapping in the cases when vme_list_exec is called more
or less than one time respectively.
Also adds dma_mapping_error check.
Signed-off-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Cc: Igor Alekseev <igor.alekseev@itep.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions