All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Brandt <Chris.Brandt@renesas.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Simon Horman <horms+renesas@verge.net.au>,
	Linux MMC List <linux-mmc@vger.kernel.org>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>
Subject: RE: [PATCH 2/3] mmc: tmio-mmc: add support for 32bit data port
Date: Sun, 11 Sep 2016 19:50:34 +0000	[thread overview]
Message-ID: <SG2PR06MB1165272B3CB9B0A00F1E06CE8AFC0@SG2PR06MB1165.apcprd06.prod.outlook.com> (raw)
In-Reply-To: <CAMuHMdXihVRcmn2Ep0cRdg2U0=boJohxzzL1=32Ek+17ivTwWg@mail.gmail.com>

On 9/11/2016, Geert Uytterhoeven wrote:
> > --- a/drivers/mmc/host/tmio_mmc.h
> > +++ b/drivers/mmc/host/tmio_mmc.h
> 
> > @@ -259,4 +265,10 @@ static inline void
> sd_ctrl_write32_as_16_and_16(struct tmio_mmc_host *host, int
> >         writew(val >> 16, host->ctl + ((addr + 2) <<
> > host->bus_shift));  }
> >
> > +static inline void sd_ctrl_write32_rep(struct tmio_mmc_host *host, int
> addr,
> > +               u32 *buf, int count)
> 
> const u32 *buf



So would you say sd_ctrl_write16_rep should also be changed to be 'const u16 *buf'?

Currently it is:
static inline void sd_ctrl_write16_rep(struct tmio_mmc_host *host, int addr,
		u16 *buf, int count)
{
	writesw(host->ctl + (addr << host->bus_shift), buf, count);
}



Chris

  reply	other threads:[~2016-09-11 19:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 15:52 [PATCH 0/3] mmc: sh_mobile_sdhi: Add r7s72100 support Chris Brandt
2016-09-09 15:52 ` [PATCH 1/3] mmc: sh_mobile_sdhi: add ocr_mask option Chris Brandt
2016-09-09 15:52 ` [PATCH 2/3] mmc: tmio-mmc: add support for 32bit data port Chris Brandt
2016-09-09 17:27   ` Sergei Shtylyov
2016-09-09 18:29     ` Chris Brandt
2016-09-11  8:09   ` Geert Uytterhoeven
2016-09-11 19:50     ` Chris Brandt [this message]
2016-09-12  8:09       ` Geert Uytterhoeven
2016-09-12 11:56         ` Chris Brandt
2016-09-12 12:00           ` Geert Uytterhoeven
2016-09-09 15:52 ` [PATCH 3/3] mmc: sh_mobile_sdhi: Add r7s72100 support Chris Brandt

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=SG2PR06MB1165272B3CB9B0A00F1E06CE8AFC0@SG2PR06MB1165.apcprd06.prod.outlook.com \
    --to=chris.brandt@renesas.com \
    --cc=geert@linux-m68k.org \
    --cc=horms+renesas@verge.net.au \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=wsa+renesas@sang-engineering.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.