summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2013-06-19 13:56:46 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-09-24 18:41:38 +0200
commit774d23010f6a7d7d299552f0b1edfbe1ec82c5e7 (patch)
treebc7a8ad585e0254b27cee8b21e66dd873bd0f82e /drivers/w1
parent[media] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused' (diff)
downloadlinux-774d23010f6a7d7d299552f0b1edfbe1ec82c5e7.tar.xz
linux-774d23010f6a7d7d299552f0b1edfbe1ec82c5e7.zip
[media] videobuf2-dc: Fix support for mappings without struct page in userptr mode
Earlier version of dma-contig allocator in user ptr mode assumed that in all cases DMA address equals physical address. This was just a special case. Commit e15dab752d4c588544ccabdbe020a7cc092e23c8 introduced correct support for converting userpage to dma address, but unfortunately it broke the support for simple dma address = physical address for the case, when given physical frame has no struct page associated with it (this happens if one use for example dma_declare_coherent api or other reserved memory approach). This commit restores support for such cases. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> [s.nawrocki@samsung.com: replaced #elsif with #elif] Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions