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
..
2012-10-19 18:46:51 +01:00
2012-09-17 20:55:54 +01:00
2012-06-30 10:15:07 +01:00
2012-11-19 22:22:15 +00:00
2013-06-11 20:25:58 +01:00
2012-09-08 10:20:09 +01:00
2012-11-30 12:57:08 +00:00
2012-11-05 20:39:54 +00:00
2012-12-05 10:55:54 -08:00
2013-04-08 13:57:53 +02:00
2012-10-15 10:05:43 +08:00
2012-09-19 17:42:17 +02:00
2012-09-17 07:35:08 -04:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2012-11-28 19:18:00 +00:00
2012-10-09 07:07:14 +09:00
2013-04-08 13:59:22 +02:00
2012-05-14 13:17:49 -07:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2012-11-19 17:44:54 +01:00
2013-06-27 13:42:18 -04:00
2012-09-14 11:17:21 +02:00
2012-09-22 01:07:21 -07:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:18:10 +02:00
2012-11-21 11:02:44 -08:00
2013-05-14 10:23:58 +05:30
2012-06-10 18:41:40 +02:00
2012-08-24 17:42:10 -07:00
2012-07-11 15:36:45 -07:00
2013-06-06 18:16:04 -07:00
2012-11-05 09:55:33 +01:00
2013-04-29 18:28:13 -07:00
2013-03-13 04:38:19 -04:00
2013-03-10 16:46:41 +08:00
2012-11-05 09:55:32 +01:00
2013-06-30 21:24:21 -07:00
2012-12-07 14:46:56 +09:00
2012-11-15 20:50:34 +08:00
2013-07-05 11:40:29 +05:30
2013-01-07 17:35:57 +01:00
2012-09-14 11:16:55 +02:00
2012-09-14 11:17:21 +02:00
2013-07-05 11:40:26 +05:30
2012-09-14 11:18:10 +02:00
2012-11-20 15:59:00 +01:00
2013-06-04 11:12:11 +02:00
2012-11-16 10:35:08 -06:00
2012-09-19 17:39:52 +02:00
2013-03-18 11:16:38 +02:00
2013-06-24 14:08:34 +05:30
2012-04-18 13:52:35 -07:00
2013-04-05 12:57:18 +01:00
2013-03-25 13:18:12 -07:00
2012-09-14 11:17:36 +02:00
2013-02-08 20:26:07 +08:00
2013-06-27 10:31:42 -07:00
2012-05-18 00:00:45 +02:00
2012-11-02 12:00:36 -07:00
2013-06-04 21:03:56 +09:00
2012-12-10 11:23:25 +01:00
2012-09-19 17:42:18 +02:00
2012-11-19 09:57:16 +01:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:17:21 +02:00
2012-10-06 13:20:33 +02:00
2012-09-14 11:18:59 +02:00
2013-02-14 15:04:40 +01:00
2012-05-22 06:48:02 -07:00
2013-02-10 17:42:43 +00:00
2012-12-03 18:48:23 +01:00
2012-09-14 11:18:10 +02:00
2013-03-18 21:26:06 +09:00
2013-03-18 21:26:06 +09:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:19 +02:00
2012-09-14 11:16:55 +02:00
2012-09-14 11:19:00 +02:00
2012-09-19 17:39:52 +02:00
2013-06-18 22:56:51 -07:00
2012-09-14 11:18:59 +02:00
2012-09-14 11:16:54 +02:00
2012-09-19 17:39:52 +02:00
2012-09-19 17:42:17 +02:00
2012-09-19 17:42:17 +02:00
2012-09-11 18:32:43 +08:00
2012-09-13 11:56:41 +08:00
2013-04-01 11:04:53 -07:00
2012-10-17 12:03:18 -07:00
2012-09-24 19:12:29 +08:00
2012-09-19 17:42:18 +02:00
2012-10-06 03:04:53 +09:00
2012-10-06 03:04:53 +09:00
2013-04-29 18:28:19 -07:00
2012-09-20 18:07:23 -07:00
2012-12-24 16:32:34 +00:00
2012-10-23 02:40:10 -04:00
2013-06-11 11:41:30 -05:00
2012-09-23 21:08:33 -07:00
2012-08-16 12:12:25 -07:00
2013-02-06 09:57:56 -08:00
2012-09-14 11:18:57 +02:00
2013-02-03 20:37:42 +01:00
2012-10-05 22:35:16 -03:00
2013-04-03 09:42:16 +05:30
2013-06-27 11:29:41 -04:00
2012-09-14 11:17:35 +02:00
2012-09-19 17:42:17 +02:00
2012-09-14 11:17:21 +02:00
2012-12-12 11:45:16 -08:00
2013-07-23 12:15:15 -07:00
2012-09-19 17:42:18 +02:00
2013-04-19 13:51:23 +02:00
2012-06-13 13:13:37 +01:00
2012-09-14 08:14:07 +05:30
2012-09-14 11:18:10 +02:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:17:21 +02:00
2013-01-14 09:55:19 -08:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2013-02-01 14:10:11 -08:00
2012-09-19 17:42:17 +02:00
2013-04-02 11:42:47 +03:00
2013-06-03 15:54:56 -04:00
2013-04-07 21:16:40 -07:00
2012-09-10 16:34:00 -07:00
2012-10-30 11:10:00 -07:00
2012-12-07 12:54:31 +09:00
2012-10-29 20:49:44 -06:00
2012-09-14 11:18:10 +02:00
2012-11-05 09:55:29 +01:00
2012-11-19 23:56:59 +01:00
2013-06-21 11:33:28 +02:00
2012-11-16 11:35:30 +00:00
2012-12-06 13:54:51 -05:00
2013-06-27 10:08:04 +10:00
2013-07-01 15:30:51 +03:00
2013-02-14 15:14:32 -08:00
2012-11-16 11:35:29 +00:00
2013-01-18 15:06:30 +02:00
2012-08-22 19:34:51 +01:00
2012-09-14 11:17:21 +02:00
2013-05-19 16:37:08 -06:00
2013-04-15 11:04:07 -07:00
2013-02-06 10:57:25 +01:00
2012-09-18 12:28:22 +02:00
2012-09-23 21:08:35 -07:00
2013-05-28 22:50:31 -07:00
2012-12-05 23:14:38 +00:00
2013-06-18 10:52:03 +05:30
2012-09-14 11:16:55 +02:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:18:59 +02:00
2013-01-26 17:00:04 +08:00
2013-04-12 13:54:58 +01:00
2013-05-25 10:33:30 -04:00
2013-04-15 10:00:44 -07:00
2012-04-18 10:26:37 -06:00
2012-09-19 17:42:18 +02:00
2013-01-27 17:37:24 +00:00
2012-10-24 15:39:08 -07:00
2012-10-27 16:28:32 +05:30
2013-05-30 21:32:52 +09:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:17:21 +02:00
2012-09-19 17:42:17 +02:00
2012-09-19 17:42:18 +02:00
2012-09-14 11:17:21 +02:00
2013-06-04 11:12:02 +02:00
2012-09-14 11:17:21 +02:00
2013-04-08 21:54:16 +09:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2013-02-13 13:22:49 +02:00
2012-09-14 11:18:10 +02:00
2013-06-11 16:11:16 +09:00
2012-09-19 17:42:18 +02:00
2013-02-14 00:22:53 +01:00
2013-04-11 14:49:20 +03:00
2012-09-14 11:16:55 +02:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:17:35 +02:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:18:59 +02:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:39:52 +02:00