Russell King e83b366487 Fix uses of dma_max_pfn() when converting to a limiting address
We must use a 64-bit for this, otherwise overflowed bits get lost, and
that can result in a lower than intended value set.

Fixes: 8e0cb8a1f6ac ("ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations")
Fixes: 7d35496dd982 ("ARM: 7796/1: scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations")
Tested-Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-02-17 23:08:41 +00:00
..
2014-01-25 13:18:00 -08:00
2014-01-31 08:38:18 -08:00
2014-01-23 18:49:36 -08:00
2014-01-23 18:49:36 -08:00
2014-01-29 20:00:13 -08:00
2014-01-25 13:19:10 -08:00
2014-01-23 18:45:38 -08:00
2014-01-12 23:48:18 +01:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-01-25 13:19:10 -08:00
2014-01-22 22:24:35 -08:00
2014-01-31 08:38:18 -08:00