stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kubakici@wp.pl>
To: stable@vger.kernel.org
Subject: mmc: sdhci: Fix FSL ESDHC reset handling quirk
Date: Tue, 2 Jun 2015 16:37:09 +0200	[thread overview]
Message-ID: <20150602163709.71d1460c@north> (raw)

Please include following patch from Linus' tree in the 3.18 branch.
Without it SDHC is unusable on Freescale P2020.  Thanks!


commit 556b5f33513f16450e8bb803c82a24377b94a34e
From: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Date: Tue, 9 Dec 2014 09:40:38 +0100

mmc: sdhci: Fix FSL ESDHC reset handling quirk

The commit 0718e59ae259 ("mmc: sdhci: move FSL ESDHC reset handling quirk into
esdhc code") states that Freescale esdhc is the only controller which needs
the interrupt registers restored after a reset. So it moves
SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET quirk handling code into the
esdhc-imx driver only. Unfortunately the same controller is used in
other boards which use the of-esdhc driver instead (like powerpc P2020).

Restore interrupts after reset in the sdhci-of-esdhc driver also.

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

 drivers/mmc/host/sdhci-of-esdhc.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

             reply	other threads:[~2015-06-02 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 14:37 Jakub Kicinski [this message]
2015-06-03  0:46 ` mmc: sdhci: Fix FSL ESDHC reset handling quirk Greg KH
2015-06-03  4:54   ` Jakub Kicinski
2015-07-31  1:07     ` Greg KH
2015-07-31 10:53       ` Jakub Kicinski
2015-07-31 16:37         ` Greg KH
2015-08-10 16:27 ` Luis Henriques

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150602163709.71d1460c@north \
    --to=kubakici@wp.pl \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).