mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[ARM] 3942/1: ARM: comment: consistent_sync should not be called directly
/* * Note: Drivers should NOT use this function directly, as it will break * platforms with CONFIG_DMABOUNCE. * Use the driver DMA support - see dma-mapping.h (dma_sync_*) */ Signed-off-by: Dan Williams <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
8de35efb6a
commit
105ef9a0af
2 changed files with 7 additions and 0 deletions
|
|
@ -476,6 +476,9 @@ core_initcall(consistent_init);
|
|||
|
||||
/*
|
||||
* Make an area consistent for devices.
|
||||
* Note: Drivers should NOT use this function directly, as it will break
|
||||
* platforms with CONFIG_DMABOUNCE.
|
||||
* Use the driver DMA support - see dma-mapping.h (dma_sync_*)
|
||||
*/
|
||||
void consistent_sync(void *vaddr, size_t size, int direction)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue