OMAP5 won't support non-DT boot, so instead of:
if (node)
foo();
return 0;
which returns zero even on non-DT boot, we have
to bail out early if node isn't a valid pointer:
if (!node)
return -ENODEV;
foo();
return 0;
Signed-off-by: Felipe Balbi ba...@ti.com
---
Hi Felipe,
On Tuesday 26 February 2013 03:04 PM, Felipe Balbi wrote:
OMAP5 won't support non-DT boot, so instead of:
if (node)
foo();
return 0;
which returns zero even on non-DT boot, we have
to bail out early if node isn't a valid pointer:
if (!node)
return -ENODEV;
foo();
On Tue, Feb 26, 2013 at 07:17:30PM +0530, kishon wrote:
Hi Felipe,
On Tuesday 26 February 2013 03:04 PM, Felipe Balbi wrote:
OMAP5 won't support non-DT boot, so instead of:
if (node)
foo();
return 0;
which returns zero even on non-DT boot, we have
to bail out early if node
On Tuesday 26 February 2013 07:20 PM, Felipe Balbi wrote:
On Tue, Feb 26, 2013 at 07:17:30PM +0530, kishon wrote:
Hi Felipe,
On Tuesday 26 February 2013 03:04 PM, Felipe Balbi wrote:
OMAP5 won't support non-DT boot, so instead of:
if (node)
foo();
return 0;
which returns zero even