Files
linux/drivers/net
Inaky Perez-Gonzalez c77ca950ab wimax/i2400m: during probe, call sdio_disable at most once
In the Intel Wireless Multicomm 3200, the initialization is
orchestrated by a component called Top. This component also monitors
how many times a function is reset (via sdio_disable) to detect
possible issues and will reset the whole multifunction device if any
function triggers a maximum reset level.

During WiMAX's probe, the driver needs to wait for Top to come up
before it can enable the WiMAX function. If it cannot, it will return
-ENODEV and the Top driver will rescan the SDIO bus once done
loading.

Currently, the WiMAX SDIO probe routine was trying a few times before
returning -ENODEV, and this was triggering Top's too-many-resets
detector. This is, in any case, unnecessary because the Top driver will
force the bus rescan when the functions can be probed successfully.

Added then a maxtries argument to i2400ms_enable_func() and set it to
1 when calling from probe. We want to reuse this function instead of
flat calling out sdio_enable_func() to take advantage of hardware
quirk workarounds.

Reported-by: Cindy H Kao <cindy.h.kao@intel.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
2009-10-19 15:55:48 +09:00
..
2009-09-22 14:00:10 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-17 23:44:47 -07:00
2009-10-06 15:22:55 -07:00
2009-10-13 11:48:18 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-04-04 16:51:14 -07:00
2009-08-12 23:03:00 -07:00
2009-08-12 22:53:28 -07:00
2009-08-12 23:03:01 -07:00
2009-10-15 00:19:31 -07:00
2009-10-15 00:18:27 -07:00
2009-10-11 23:30:16 -07:00
2009-10-11 23:30:16 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-07-06 18:54:51 -07:00
2009-10-13 11:48:18 -07:00
2009-09-23 07:39:43 -07:00
2009-02-04 16:43:44 -08:00
2009-10-12 23:54:05 -07:00
2009-10-13 11:48:18 -07:00
2009-02-26 21:02:19 -08:00
2009-04-16 02:20:08 -07:00
2009-09-07 01:56:52 -07:00
2009-10-13 11:48:18 -07:00
2009-10-02 09:55:19 -07:00
2009-07-06 13:05:13 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-09-23 07:39:43 -07:00
2009-07-20 08:23:26 -07:00
2009-04-16 02:20:16 -07:00
2009-09-03 20:02:13 -07:00
2009-04-16 02:20:21 -07:00
2009-09-21 15:14:58 +02:00
2009-10-18 18:52:53 -07:00
2009-10-07 01:10:46 -07:00
2009-04-29 17:32:34 -07:00
2009-08-02 12:20:40 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-13 11:48:18 -07:00
2009-10-01 15:14:54 -07:00
2009-10-13 11:48:18 -07:00
2009-10-01 15:14:55 -07:00
2009-09-19 13:13:17 -07:00
2009-09-15 09:37:12 -07:00
2009-03-27 00:46:48 -07:00
2009-10-07 03:37:39 -07:00
2009-10-07 03:37:39 -07:00
2009-10-13 11:48:18 -07:00
2009-10-14 01:19:46 -07:00