Commits

Li Jun committed 6ca8fd86e79
MLK-11891-1 usb: otg-fsm: allocate DMA buffer for host request flag separately HNP polling need a one byte buffer for usb control transfer via DMA read, currently using a data field in a structure for DMA buffer may cause cache incoherent issue, because the cache line for the DMA buffer also contains other data in this structure, while dma from device is outstanding, the access on other data in the same cache line will cause we get the old data before DMA. This patch change the host_request_flag to be a pointer, its memory will be allocated through kmalloc by controller driver, with this way, the DMA buffer can be properly aligned and padded. Signed-off-by: Li Jun <jun.li@freescale.com>