linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ulf Hansson <ulf.hansson@linaro.org>
To: Bojan Prtvar <prtvar.b@gmail.com>
Cc: linux-mmc <linux-mmc@vger.kernel.org>,
	Weijun Yang <york.yang@csr.com>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	Shawn Lin <shawn.lin@rock-chips.com>,
	Carlo Caione <carlo@endlessm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mmc: sd: Extend sysfs with OCR register
Date: Mon, 18 Jul 2016 13:20:03 +0200	[thread overview]
Message-ID: <CAPDyKFo9+yJdDOtxaipMEEv9e2WO5i2Fro3RYdCQ2aMe=QpYSA@mail.gmail.com> (raw)
In-Reply-To: <20160713212225.106498-1-prtvar.b@gmail.com>

On 13 July 2016 at 23:22, Bojan Prtvar <prtvar.b@gmail.com> wrote:
> We already exported OCR for mmc cards. Let's export it
> for sd cards as well.
>
> Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>

I decided to squash this change into the earlier applied: "mmc: core:
Extend sysfs with OCR register".

Thanks and kind regards
Uffe

> ---
>  drivers/mmc/core/sd.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c
> index b95bd24..3dd0861 100644
> --- a/drivers/mmc/core/sd.c
> +++ b/drivers/mmc/core/sd.c
> @@ -675,6 +675,7 @@ MMC_DEV_ATTR(manfid, "0x%06x\n", card->cid.manfid);
>  MMC_DEV_ATTR(name, "%s\n", card->cid.prod_name);
>  MMC_DEV_ATTR(oemid, "0x%04x\n", card->cid.oemid);
>  MMC_DEV_ATTR(serial, "0x%08x\n", card->cid.serial);
> +MMC_DEV_ATTR(ocr, "%08x\n", card->ocr);
>
>
>  static struct attribute *sd_std_attrs[] = {
> @@ -690,6 +691,7 @@ static struct attribute *sd_std_attrs[] = {
>         &dev_attr_name.attr,
>         &dev_attr_oemid.attr,
>         &dev_attr_serial.attr,
> +       &dev_attr_ocr.attr,
>         NULL,
>  };
>  ATTRIBUTE_GROUPS(sd_std);
> --
> 2.8.0.GIT
>

      reply	other threads:[~2016-07-18 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 21:22 [PATCH] mmc: sd: Extend sysfs with OCR register Bojan Prtvar
2016-07-18 11:20 ` Ulf Hansson [this message]

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='CAPDyKFo9+yJdDOtxaipMEEv9e2WO5i2Fro3RYdCQ2aMe=QpYSA@mail.gmail.com' \
    --to=ulf.hansson@linaro.org \
    --cc=carlo@endlessm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=prtvar.b@gmail.com \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=shawn.lin@rock-chips.com \
    --cc=york.yang@csr.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 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).