From: Sonic Zhang Date: Thu, 10 Apr 2014 08:40:59 +0000 (+0800) Subject: cryptoo: bfin_crc - avoid get physical address of coherence memory by dma_map_single X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~2^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d77eb177a034c6ddc6f33ad16458b7df0c5190;p=pandora-kernel.git cryptoo: bfin_crc - avoid get physical address of coherence memory by dma_map_single - The 4-byte sg_mid_buf is located in the middle of the coherence memory sg_cpu. Don't call dma_map_single to get its physical address. Get the its base physical address from the physical address of sg_cpu instead. - Should set up the dma descriptor data after the 4-byte sg_mid_buf is filled in completely from next sg buffer. - memory copy from sg buffer should be done via virtual address. - Remove unused reference to blackfin header Signed-off-by: Sonic Zhang Reviewed-by: Marek Vasut Signed-off-by: Herbert Xu --- Reading git-diff-tree failed