diff options
author | Steven Luo <steven@steven676.net> | 2013-12-11 20:51:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 18:07:39 (GMT) |
commit | ed75098fd17b663f76dd7b4960c3da08fb250032 (patch) | |
tree | 797bfb89b4486ecc2768be6b58c2d14ef701ebcc /drivers/staging/ozwpan/ozusbsvc.c | |
parent | 76981cf1a18ba4c71be80a1f2a53ad43b918e804 (diff) | |
download | linux-ed75098fd17b663f76dd7b4960c3da08fb250032.tar.xz |
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 <cvr.dheeraj@gmail.com>
Signed-off-by: Ivaylo Dimitrov <freemangordon@abv.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozusbsvc.c')
0 files changed, 0 insertions, 0 deletions