aboutsummaryrefslogtreecommitdiff
path: root/fs/ufs/super.c
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2015-03-03 12:52:10 -0500
committerAlex Shi <alex.shi@linaro.org>2015-10-26 14:07:27 +0800
commita9e3eefb46c3763adcbff014d63512c79373ba22 (patch)
tree261c6ae735c964ea3e4280f1b0149ab87efa76f1 /fs/ufs/super.c
parent97cea63d7eff78da3fffe6edf723478075a39555 (diff)
of: Fix size when dma-range is not used
Fix the dma-range size when the DT attribute is missing, i.e., set size to dev->coherent_dma_mask + 1 instead of dev->coherent_dma_mask. Also add code to check invalid values of size configured in DT and log error. Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> (AMD Seattle) Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> CC: Joerg Roedel <joro@8bytes.org> CC: Grant Likely <grant.likely@linaro.org> CC: Rob Herring <robh+dt@kernel.org> CC: Russell King <linux@arm.linux.org.uk> CC: Arnd Bergmann <arnd@arndb.de> (cherry picked from commit 0c79c81c779fe54e67c0ce8c1fda551ca57d8a35) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'fs/ufs/super.c')
0 files changed, 0 insertions, 0 deletions