dma-buf: Cleanup comments on dma_buf_map_attachment()
authorLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 1 Nov 2017 14:06:30 +0000 (14:06 +0000)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Thu, 2 Nov 2017 13:10:45 +0000 (11:10 -0200)
commitc138782d895d52aa3831aa8c468b33d68fa5c954
tree2f9f425d8e2c04ee69c51f01405756bc8504085b
parent21be91549c6b6792a37cfe9c0409d0635df220f4
dma-buf: Cleanup comments on dma_buf_map_attachment()

Mappings need to be unmapped by calling dma_buf_unmap_attachment() and
not by calling again dma_buf_map_attachment(). Also fix some spelling
mistakes.

Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171101140630.2884-1-Liviu.Dudau@arm.com
drivers/dma-buf/dma-buf.c