From: Maciej W. Rozycki Date: Sat, 5 Jul 2014 14:14:30 +0000 (+0100) Subject: defxx: Discard DMA maps on buffer deallocation X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~207^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6329fe5c4e61655bcb8456805d2c485f791b50cc;p=pandora-kernel.git defxx: Discard DMA maps on buffer deallocation Prearranged receive DMA bounce buffer mappings are not released in the card reboot/shutdown path. That does not affect frame reception, but probably explains the random segmentation fault I observed the other day on interface shutdown. Card is rebooted as required by the spec in the process of ring fault recovery when a PC Trace signal has been received. This change fixes the problem in an obvious manner. Reported-by: Robert Coerver Tested-by: Robert Coerver Signed-off-by: Maciej W. Rozycki Signed-off-by: David S. Miller --- Reading git-diff-tree failed