Arnd Bergmann
a829abf8da
ARM: pxa: propagate errors from regulator_enable() to pxamci
...
The em_x270_mci_setpower() and em_x270_usb_hub_init() functions
call regulator_enable(), which may return an error that must
be checked.
This changes the em_x270_usb_hub_init() function to bail out
if it fails, and changes the pxamci_platform_data->setpower
callback so that the a failed em_x270_mci_setpower call
can be propagated by the pxamci driver into the mmc core.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Chris Ball <cjb@laptop.org>
[olof: fixed order of regulator_enable() and test in em_x270_usb_hub_init]
Signed-off-by: Olof Johansson <olof@lixom.net>
2013-07-23 12:15:15 -07:00
..
2013-05-04 12:34:30 -07:00
2012-09-14 11:18:10 +02:00
2012-09-14 11:18:10 +02:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-03-25 14:36:31 -05:00
2012-08-16 16:15:44 +08:00
2011-07-12 19:45:19 +08:00
2012-11-15 13:50:13 +01:00
2012-05-13 17:12:17 +01:00
2012-12-24 09:36:38 -07:00
2011-10-01 23:45:34 +01:00
2012-09-14 11:18:10 +02:00
2012-12-24 09:36:38 -07:00
2012-09-14 11:18:10 +02:00
2012-09-14 11:18:10 +02:00
2012-09-14 11:18:10 +02:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2013-01-03 15:57:04 -08:00
2013-07-09 10:33:29 -07:00
2012-12-24 09:36:38 -07:00
2013-04-11 09:59:23 +08:00
2013-04-11 09:59:23 +08:00
2013-07-23 12:15:15 -07:00
2012-12-24 09:36:38 -07:00
2013-06-18 22:56:51 -07:00
2012-03-28 18:30:01 +01:00
2013-07-09 10:33:29 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-08-16 16:14:50 +08:00
2013-06-18 13:53:10 +05:30
2013-06-18 22:56:51 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2013-07-23 12:15:15 -07:00
2013-04-08 13:02:31 +02:00
2011-10-17 09:12:40 +01:00
2012-04-27 11:14:06 +08:00
2011-04-24 19:16:09 +02:00
2013-07-09 10:33:29 -07:00
2012-12-24 09:36:38 -07:00
2012-09-14 11:18:10 +02:00
2012-09-14 11:18:10 +02:00
2013-06-18 22:56:51 -07:00
2013-06-18 22:56:51 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2013-06-18 22:56:51 -07:00
2013-06-18 22:56:51 -07:00
2013-06-18 22:56:51 -07:00
2012-12-24 09:36:38 -07:00
2013-07-23 12:15:15 -07:00
2011-06-24 08:48:43 +01:00
2013-07-23 12:15:15 -07:00
2012-09-14 11:18:10 +02:00
2012-11-06 05:59:59 -08:00
2013-04-11 10:00:05 +08:00
2013-04-11 10:00:05 +08:00
2013-04-11 10:00:05 +08:00
2012-03-25 14:36:31 -05:00
2012-03-25 14:36:31 -05:00
2013-04-11 10:00:05 +08:00
2012-12-24 09:36:38 -07:00
2013-03-12 16:20:45 -07:00
2013-07-09 10:33:29 -07:00
2012-12-24 09:36:38 -07:00
2013-01-03 15:57:04 -08:00
2011-06-24 08:48:45 +01:00
2013-01-23 16:56:32 +08:00
2013-01-03 15:57:04 -08:00
2013-07-23 12:15:15 -07:00
2013-07-23 12:15:15 -07:00
2013-06-18 22:56:51 -07:00
2013-06-12 14:02:13 -07:00
2013-01-03 15:57:04 -08:00
2013-07-09 10:33:29 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2012-12-24 09:36:38 -07:00
2013-06-18 22:56:51 -07:00
2012-12-24 09:36:38 -07:00
2011-11-14 21:07:58 +08:00
2013-06-18 22:56:51 -07:00