All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Chiu <chris.chiu@canonical.com>
To: arnd@arndb.de, Greg KH <gregkh@linuxfoundation.org>,
	ricky_wu@realtek.com, Bjorn Helgaas <bhelgaas@google.com>,
	vaibhavgupta40@gmail.com, rui_feng@realsil.com.cn,
	keitasuzuki.park@sslab.ics.keio.ac.jp, gordon.lack@dsl.pipex.com
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: SD card fails to be detected on the second insertion
Date: Wed, 2 Jun 2021 15:43:19 +0800	[thread overview]
Message-ID: <CABTNMG2Cu1GqqF7qr4uCS-xNXnygEqyog8wYfRezv-nOgwfNMQ@mail.gmail.com> (raw)

Hi,
    We got the bug report https://bugs.launchpad.net/bugs/1929444
which said the SD card would not be detected correctly after
replugging. Please check the
https://bugs.launchpad.net/bugs/1929444/+attachment/5500291/+files/rtsx.info
for the dmesg of card insertion/removal. It fails at SD/MMC CMD2 at
replugging the SD card. We found that reverting commit 121e9c6b5c4
("misc: rtsx: modify and fix init_hw function") can get the SD card
back to work for each insertion (the dependent commit 38d98d73be9
"misc: rtsx: remove unused function" also need to be reverted). I
don't really know what goes wrong in that commit and I don't have that
pci interfaced card reader (10ec:5287). @Rui, can you help verify what
could possibly go wrong with that commit? Thanks

Chris

                 reply	other threads:[~2021-06-02  7:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CABTNMG2Cu1GqqF7qr4uCS-xNXnygEqyog8wYfRezv-nOgwfNMQ@mail.gmail.com \
    --to=chris.chiu@canonical.com \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=gordon.lack@dsl.pipex.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=keitasuzuki.park@sslab.ics.keio.ac.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricky_wu@realtek.com \
    --cc=rui_feng@realsil.com.cn \
    --cc=vaibhavgupta40@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.