commit | 552ee3021cd79feb4203df1d594533fa9c8e1595 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Fri Oct 13 09:29:25 2017 +0000 |
committer | Tony Lindgren <tony@atomide.com> | Fri Oct 13 10:07:40 2017 -0700 |
tree | e3db0719751af4e850c99ee5e617b5e181b15d3a | |
parent | 9cffb1a0504ddc7b291cf882002ee4a794eb3fec [diff] |
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>