diff options
author | Preetham Chandru <pchandru@nvidia.com> | 2012-08-08 20:55:48 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:31:22 -0700 |
commit | ab1353388729de3eaebe04a38442a222d32ec759 (patch) | |
tree | 5a5ce9bbb1d7ecec22e222cb9186c5a019554b07 /drivers/mfd/Kconfig | |
parent | 6229cb054fbac5a8678b17817e5fbbfb3a2258fe (diff) |
usb: ehci: tegra: give ownership of DMA buffer to processor first
Give ownership of the DMA buffer back to the processor first and
then free the buffer. Otherwise processor won't be able to
access the dma mapped buffers and this would lead to slab
corruption.
When the DMA buffer is freed without a call to dma_sync_single_for_cpu(),
the kernel won't be able to set the buffer as POISON FREE and when we
acquire this memory back again the kernel will start printing slab
corruption output as the memory is not set to POISON FREE
Bug 1017884
Bug 1018161
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I9188e83ca394082a6f33dc7858a781b1363392ab
Reviewed-on: http://git-master/r/122151
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Rebase-Id: Rdee8d5f68d4f4959246732573caabb64e237f3a9
Diffstat (limited to 'drivers/mfd/Kconfig')
0 files changed, 0 insertions, 0 deletions