]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
of/platform: add error reporting to of_amba_device_create()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 30 Aug 2013 11:17:29 +0000 (13:17 +0200)
committerGrant Likely <grant.likely@linaro.org>
Mon, 9 Sep 2013 16:04:52 +0000 (17:04 +0100)
commit2bc552df76d83cf1455ac8cf4c87615bfd15df74
tree07999788612ad5e4435594ae8725bafdb6c39a9f
parentd84ff46a9e19fe27ac6e4d7740ca0429c28e778a
of/platform: add error reporting to of_amba_device_create()

Add error reporting to of_amba_device_create() so the user knows
when (and why) some device tree nodes fail to initialize.

[ The issue was spotted on Universal C210 board (using revision 0 of
  ARM Exynos4210 SoC) on which initialization was silently failing
  for PL330 MDMA1 device tree node (it was using the wrong addres
  resulting in amba_device_add() returning -ENODEV). ]

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/platform.c