Re: [PATCH 2/3] usb: phy: twl4030-usb: check regulator_enable return value

2013-04-03 Thread Kalle Jokiniemi
On Wed, 2013-04-03 at 16:02 +0200, Fabio Baltieri wrote: > Since regulator_enable() is going to be marked as __must_check in the > next merge window, always check regulator_enable() return value and > print a warning if it fails. Could go bananas with this and all kinds of recovery schemes, but

[PATCH 2/3] usb: phy: twl4030-usb: check regulator_enable return value

2013-04-03 Thread Fabio Baltieri
Since regulator_enable() is going to be marked as __must_check in the next merge window, always check regulator_enable() return value and print a warning if it fails. Cc: Kalle Jokiniemi Signed-off-by: Fabio Baltieri --- drivers/usb/phy/phy-twl4030-usb.c | 18 +++--- 1 file

[PATCH 2/3] usb: phy: twl4030-usb: check regulator_enable return value

2013-04-03 Thread Fabio Baltieri
Since regulator_enable() is going to be marked as __must_check in the next merge window, always check regulator_enable() return value and print a warning if it fails. Cc: Kalle Jokiniemi kalle.jokini...@jollamobile.com Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org ---

Re: [PATCH 2/3] usb: phy: twl4030-usb: check regulator_enable return value

2013-04-03 Thread Kalle Jokiniemi
On Wed, 2013-04-03 at 16:02 +0200, Fabio Baltieri wrote: Since regulator_enable() is going to be marked as __must_check in the next merge window, always check regulator_enable() return value and print a warning if it fails. Could go bananas with this and all kinds of recovery schemes, but