Files
linux/drivers/mfd
Axel Lin d11536e4e0 mfd: Fix usbhs_enable error handling
In the case of missing platform_data we do not hold a spin_lock,
thus we should not call spin_unlock_irqrestore in the error path.

Also simplify the error handling by separating the successful path
from error path. I think this change improves readability.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Steve Calfee <stevecalfee@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-05-02 12:34:34 +03:00
..
2011-03-27 00:09:51 +01:00
2011-03-27 00:09:51 +01:00
2011-03-31 11:26:23 -03:00
2011-03-23 10:41:43 +01:00
2011-03-27 00:09:52 +01:00
2011-03-31 11:26:23 -03:00
2011-03-27 00:09:51 +01:00
2011-03-31 11:26:23 -03:00
2011-03-27 00:09:51 +01:00
2011-03-23 10:42:03 +01:00
2011-03-27 00:09:51 +01:00
2011-03-27 00:09:51 +01:00
2010-12-24 16:00:17 +01:00
2011-03-31 11:26:23 -03:00
2011-03-27 00:09:51 +01:00
2010-08-12 11:28:00 +02:00
2011-03-27 00:09:51 +01:00
2011-03-27 00:09:51 +01:00
2011-03-27 00:09:51 +01:00
2011-03-31 11:26:23 -03:00
2010-08-12 11:27:59 +02:00
2011-03-31 11:26:23 -03:00
2011-03-23 10:41:59 +01:00
2011-01-14 12:37:39 +01:00
2011-03-27 00:09:51 +01:00
2009-09-17 09:46:59 +02:00
2011-03-27 00:09:51 +01:00
2011-03-27 00:09:51 +01:00