From ed75098fd17b663f76dd7b4960c3da08fb250032 Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Wed, 11 Dec 2013 22:51:56 +0200 Subject: [PATCH] Staging: TIDSPBRIDGE: Fix mmap to map the correct region of physical memory Commit 559c71fe5dc3 ("Staging: TIDSPBRIDGE: Use vm_iomap_memory for mmap-ing instead of remap_pfn_range") had the effect of inadvertently shifting the start of the physical memory area mapped by pdata->phys_mempool_base. Correct this by subtracting that shift before calling vm_iomap_memory() and adding it back afterwards. Reported-by: Dheeraj CVR Signed-off-by: Ivaylo Dimitrov Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed