From: Steven Luo Date: Wed, 11 Dec 2013 20:51:56 +0000 (+0200) Subject: Staging: TIDSPBRIDGE: Fix mmap to map the correct region of physical memory X-Git-Tag: v3.14-rc1~150^2~259 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed75098fd17b663f76dd7b4960c3da08fb250032;p=pandora-kernel.git 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-diff-tree failed