Xuelin Shi c1f43dd9c2 dmaengine: fix dmaengine_unmap failure
The count which is used to get_unmap_data maybe not the same as the
count computed in dmaengine_unmap which causes to free data in a
wrong pool.

This patch fixes this issue by keeping the map count with unmap_data
structure and use this count to get the pool.

Cc: <stable@vger.kernel.org>
Signed-off-by: Xuelin Shi <xuelin.shi@freescale.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2014-05-21 14:02:37 -07:00
..
2014-02-25 09:44:20 -08:00
2013-01-07 17:36:37 +01:00
2013-12-12 22:43:41 -08:00
2014-02-18 17:10:49 +05:30
2012-09-01 08:57:12 -07:00
2014-01-20 13:53:20 +05:30
2014-04-16 11:57:27 +05:30
2013-12-12 22:43:41 -08:00