Adrian Hunter
6a645dd87a
mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL
...
Intel BXT/APL use a card detect GPIO however the host controller
will not enable bus power unless it's card detect also reflects
the presence of a card. Unfortunately those 2 things race which
can result in commands not starting, after which the controller
does nothing and there is a 10 second wait for the driver's
10-second timer to timeout.
That is fixed by having the driver look also at the present state
register to determine if the card is present. Consequently, provide
a 'get_cd' mmc host operation for BXT/APL that does that.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com >
Cc: stable@vger.kernel.org # v4.4+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2016-02-11 11:39:56 +01:00
..
2015-09-01 14:19:11 +02:00
2016-01-18 12:50:55 -08:00
2014-10-20 16:20:56 +02:00
2013-10-30 20:26:36 -04:00
2013-10-30 20:26:37 -04:00
2016-01-05 18:04:57 +01:00
2015-06-01 09:06:49 +02:00
2015-10-27 10:38:41 +01:00
2015-03-23 14:13:28 +01:00
2015-06-01 09:07:05 +02:00
2014-09-09 13:59:05 +02:00
2015-12-22 11:32:19 +01:00
2012-11-28 12:28:18 -08:00
2015-12-22 11:32:03 +01:00
2016-01-05 18:04:58 +01:00
2015-10-29 11:00:37 +01:00
2014-09-09 13:59:04 +02:00
2015-12-22 11:32:12 +01:00
2015-10-26 16:00:05 +01:00
2016-02-08 15:22:04 +01:00
2014-09-09 13:58:46 +02:00
2014-09-09 13:58:46 +02:00
2016-01-14 10:47:46 +01:00
2014-07-09 11:25:57 +02:00
2015-10-26 15:59:57 +01:00
2015-12-22 11:32:17 +01:00
2015-12-22 11:32:12 +01:00
2015-06-01 09:07:02 +02:00
2015-06-01 09:06:50 +02:00
2015-12-22 11:32:17 +01:00
2015-12-22 11:32:02 +01:00
2015-10-26 15:59:58 +01:00
2016-02-08 15:25:43 +01:00
2015-06-01 09:06:50 +02:00
2015-06-01 09:06:50 +02:00
2015-06-01 09:06:51 +02:00
2014-07-09 11:26:13 +02:00
2015-06-01 09:06:46 +02:00
2016-02-11 11:39:56 +01:00
2015-06-01 09:56:07 +02:00
2015-10-26 15:59:55 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-12-22 11:32:09 +01:00
2015-10-26 16:00:08 +01:00
2015-03-23 14:13:47 +01:00
2015-10-27 10:38:41 +01:00
2015-08-27 14:50:54 +02:00
2016-02-02 14:09:14 +01:00
2015-12-22 11:32:11 +01:00
2015-03-23 14:13:35 +01:00
2016-02-11 11:39:56 +01:00
2015-06-01 09:07:14 +02:00
2015-10-26 16:00:05 +01:00
2015-10-26 16:00:05 +01:00
2015-10-26 16:00:19 +01:00
2015-12-22 11:32:01 +01:00
2014-01-13 12:48:06 -05:00
2015-06-01 09:06:53 +02:00
2015-10-08 19:24:23 +02:00
2013-04-19 13:51:23 +02:00
2015-06-01 09:06:52 +02:00
2015-10-27 10:38:41 +01:00
2015-07-17 16:39:53 -07:00
2015-06-01 09:07:07 +02:00
2016-01-05 18:04:56 +01:00
2016-02-11 11:39:56 +01:00
2016-02-11 11:39:56 +01:00
2013-10-30 20:28:32 -04:00
2016-02-10 17:02:25 +01:00
2015-03-05 21:54:26 +05:30
2015-10-26 16:00:02 +01:00
2014-09-24 10:13:09 +02:00
2016-01-14 11:00:29 +01:00
2015-08-24 11:25:53 +02:00
2015-06-01 09:06:48 +02:00
2015-03-05 21:54:17 +05:30
2015-01-19 09:56:07 +01:00
2014-11-26 14:30:58 +01:00
2015-12-22 11:32:18 +01:00
2014-02-25 15:42:20 -05:00
2013-10-30 20:28:36 -04:00
2015-10-26 15:59:54 +01:00
2015-10-26 15:59:53 +01:00
2015-03-23 14:13:49 +01:00