commit | d6b246bb7a29703f53aa4c050b8b3205d749caee | [log] [tgz] |
---|---|---|
author | Sushmita Susheelendra <ssusheel@codeaurora.org> | Fri Dec 15 13:59:13 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Dec 19 15:53:39 2017 +0100 |
tree | 77fe162f20c56d2c389df44dc17f41c9ebd06aae | |
parent | f292b9b28097d8fe870336108e91bd95a14294bf [diff] |
staging: android: ion: Fix dma direction for dma_sync_sg_for_cpu/device Use the direction argument passed into begin_cpu_access and end_cpu_access when calling the dma_sync_sg_for_cpu/device. The actual cache primitive called depends on the direction passed in. Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org> Cc: stable <stable@vger.kernel.org> Acked-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>