diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-10-13 09:29:25 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-10-13 10:07:40 -0700 |
commit | 552ee3021cd79feb4203df1d594533fa9c8e1595 (patch) | |
tree | e3db0719751af4e850c99ee5e617b5e181b15d3a /drivers/bus | |
parent | 9cffb1a0504ddc7b291cf882002ee4a794eb3fec (diff) | |
download | linux-stable-552ee3021cd79feb4203df1d594533fa9c8e1595.tar.gz linux-stable-552ee3021cd79feb4203df1d594533fa9c8e1595.tar.bz2 linux-stable-552ee3021cd79feb4203df1d594533fa9c8e1595.zip |
ARM: OMAP2+: omap_device: fix error return code in omap_device_copy_resources()
Fix to return error code -EINVAL from the irq_of_parse_and_map() error
handling case instead of 0, as done elsewhere in this function.
Fixes: d85a2d61432a ("ARM: OMAP2+: Populate legacy resources for dma
and smartreflex")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions