<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mmc/core/core.c, branch linux-3.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-03-17T13:12:00Z</updated>
<entry>
<title>mmc: slot-gpio: Add GPIO descriptor based CD GPIO API</title>
<updated>2014-03-17T13:12:00Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2014-03-10T13:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=740a221ef0e579dc7c675cf6b90f5313509788f7'/>
<id>urn:sha1:740a221ef0e579dc7c675cf6b90f5313509788f7</id>
<content type='text'>
Add functions to request a CD GPIO using the GPIO descriptor API.
Note that the new request function is paired with mmc_gpiod_free_cd()
not mmc_gpio_free_cd().  Note also that it must be called prior to
mmc_add_host() otherwise the caller must also call
mmc_gpiod_request_cd_irq().

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Add ignore_crc flag to __mmc_switch</title>
<updated>2014-02-23T15:40:30Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2014-01-08T15:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4509f847751c9d2a724f37fe831393fbac34b80f'/>
<id>urn:sha1:4509f847751c9d2a724f37fe831393fbac34b80f</id>
<content type='text'>
Instead of handle specific adaptations, releated to certain switch
operations, inside __mmc_switch, push this to be handled by the caller
instead.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Rename cmd_timeout_ms to busy_timeout</title>
<updated>2014-02-23T15:40:26Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2014-01-08T14:06:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d4d77444bf4212c44585146a2b353ca24c815f9'/>
<id>urn:sha1:1d4d77444bf4212c44585146a2b353ca24c815f9</id>
<content type='text'>
To better reflect that the cmd_timeout_ms is directly related to the
busy detection timeout, let's rename it.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Rename max_discard_to to max_busy_timeout</title>
<updated>2014-02-23T15:40:08Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2013-12-18T08:57:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68eb80e06bfa06035d0304686124974780308fae'/>
<id>urn:sha1:68eb80e06bfa06035d0304686124974780308fae</id>
<content type='text'>
Rename host-&gt;max_discard_to to host-&gt;max_busy_timeout, to reflect that
it tells the mmc core layer about the maximum supported busy detection
timeout by the host.

This timeout is at the moment only applicable to erase/trim/discard
commands. By the renaming we provide the option of make use of it for
other commands that cares about busy detection. In other words, those
commands that wants an R1B response, like for example the mmc switch
command.

Do note that the max_busy_timeout is supposed to be specified only by
hosts supporting MMC_CAP_WAIT_WHILE_BUSY.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Enable MMC_CAP2_CACHE_CTRL as default</title>
<updated>2014-02-14T03:58:49Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2013-12-18T10:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7536d3f83aa42ba1a3b1c6b30c2b6d94a820cbb2'/>
<id>urn:sha1:7536d3f83aa42ba1a3b1c6b30c2b6d94a820cbb2</id>
<content type='text'>
There are no reason to why the use of a non-volatile internal eMMC
cache should be controlled by a host cap. Instead let's just enable it
if the eMMC card supports it.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Acked-by: Seungwon Jeon &lt;tgih.jun@samsung.com&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Use mmc_flush_cache() during mmc suspend</title>
<updated>2014-02-14T03:58:41Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2013-12-16T15:23:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10e5d9652499a8bc0a99ffc2a96a3030fee576cb'/>
<id>urn:sha1:10e5d9652499a8bc0a99ffc2a96a3030fee576cb</id>
<content type='text'>
Earlier we disabled the cache during suspend, which meant a flush was
internally at the eMMC performed as well.

To simplify code we can make use of the mmc_flush_cache(), during mmc
suspend, which makes the mmc_cache_ctrl() redundant so then we can
remove it.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Acked-by: Seungwon Jeon &lt;tgih.jun@samsung.com&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Remove unnecessary validations for bus_ops callbacks</title>
<updated>2014-02-14T03:58:23Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2013-10-30T22:15:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5601aaf73e5c2f0aa5e3607fee7b7d3511edfea9'/>
<id>urn:sha1:5601aaf73e5c2f0aa5e3607fee7b7d3511edfea9</id>
<content type='text'>
Due to the removal of the Kconfig option MMC_UNSAFE_RESUME, several
validations of a present bus_ops callback became redundant. Let's
remove these.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: core: Use MMC_UNSAFE_RESUME as default behavior</title>
<updated>2014-02-14T03:58:15Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2013-10-30T00:00:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2501c9179dff2add6aadd3898cd729e94e777d3a'/>
<id>urn:sha1:2501c9179dff2add6aadd3898cd729e94e777d3a</id>
<content type='text'>
Invoking system suspend or shutdown without using the Kconfig option
MMC_UNSAFE_RESUME, did trigger an ungraceful power cut of the card.

To improve the situation, change the behavior to always make use of the
available bus_ops callbacks that handles system suspend and shutdown
properly.

By changing the behavior MMC_UNSAFE_RESUME becomes redundant, so lets's
remove it.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;chris@printf.net&gt;
</content>
</entry>
<entry>
<title>mmc: Do not call get_cd for non removable cards</title>
<updated>2014-01-13T17:48:17Z</updated>
<author>
<name>Sascha Hauer</name>
</author>
<published>2013-12-05T13:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1b55bfcb3e5599eb5e67efed70698ade02add4e'/>
<id>urn:sha1:c1b55bfcb3e5599eb5e67efed70698ade02add4e</id>
<content type='text'>
Non removable cards are always present, so do not call get_cd for them.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Remove deprecated mmc_suspend|resume_host APIs</title>
<updated>2013-10-31T00:28:38Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2013-09-26T09:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c0d22e8180b98eea412b84aa0f0c42c16159679'/>
<id>urn:sha1:3c0d22e8180b98eea412b84aa0f0c42c16159679</id>
<content type='text'>
The are no more users of the deprecated mmc_suspend|resume_host API,
so let's remove it.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
</feed>
