linux_dsm_epyc7002/drivers/of
Marek Szyprowski 9f5a802b1d [media] of: reserved_mem: restore old behavior when no region is defined
Change return value back to -ENODEV when no region is defined for given
device. This restores old behavior of this function, as some drivers rely
on such error code.

Fixes: 59ce403972 ("of: reserved_mem: add support for using more than
       one region for given device")

Reported-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Sumit Semwal <sumit.semwal@linaro.org>
2016-06-09 06:55:15 -03:00
..
unittest-data
address.c
base.c
device.c
dynamic.c
fdt_address.c
fdt.c
irq.c
Kconfig
Makefile
of_mdio.c
of_net.c
of_numa.c
of_pci_irq.c
of_pci.c
of_private.h
of_reserved_mem.c [media] of: reserved_mem: restore old behavior when no region is defined 2016-06-09 06:55:15 -03:00
overlay.c
pdt.c
platform.c
resolver.c
unittest.c