From: Huang Shijie Date: Thu, 22 Nov 2012 07:06:30 +0000 (+0800) Subject: serial: mxs-auart: unmap the scatter list before we copy the data X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ffb9329012a517575e4c4d49480b6ce0d1529e;p=pandora-kernel.git serial: mxs-auart: unmap the scatter list before we copy the data We should first unmap the DMA scatter list for receiving data, and then copy the data from the DMA buffer. The old code misses unmap the scatter list for RX. This patch fixes it. Signed-off-by: Huang Shijie Tested-by: Lauri Hintsala Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed