Re: [PATCH 049/100] usb: dwc3: omap: bail out early on non-DT boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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();

return 0;

Signed-off-by: Felipe Balbi <balbi@xxxxxx>

One of my previous patch which was doing this somehow got missed getting merged along with a couple of other patches. I've listed those patches here
[PATCH v3 06/11] usb: dwc3-omap: Minor fixes to get dt working
[PATCH v3 07/11] usb: dwc3-omap: remove platform data associated with dwc3-omap
[PATCH v3 08/11] usb: dwc3-omap: stop using nop-usb-xceiv

Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux