From: James Hogan <james.hogan@imgtec.com>
To: Seungwon Jeon <tgih.jun@samsung.com>
Cc: 'Jaehoon Chung' <jh80.chung@samsung.com>,
'linux-mmc' <linux-mmc@vger.kernel.org>,
'Chris Ball' <cjb@laptop.org>,
'Kyungmin Park' <kyungmin.park@samsung.com>,
'Will Newton' <will.newton@imgtec.com>
Subject: Re: [PATCH v3 2/4] mmc: dw-mmc: remove the duplicated code
Date: Tue, 27 Nov 2012 09:41:24 +0000 [thread overview]
Message-ID: <50B48AC4.2050606@imgtec.com> (raw)
In-Reply-To: <001501cdcc75$5cb15d60$16141820$%jun@samsung.com>
On 27/11/12 08:01, Seungwon Jeon wrote:
> This is minor change.
>
> Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
>
> Thanks,
> Seungwon Jeon
Looks good to me too.
Acked-by: James Hogan <james.hogan@imgtec.com>
>
> On Thursday, November 08, 2012, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> ctype is used 1-bit buswidth mode by default.
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>> ---
>> drivers/mmc/host/dw_mmc.c | 9 +++------
>> 1 files changed, 3 insertions(+), 6 deletions(-)
>>
>> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
>> index a1369aa..0a80b5c 100644
>> --- a/drivers/mmc/host/dw_mmc.c
>> +++ b/drivers/mmc/host/dw_mmc.c
>> @@ -773,19 +773,16 @@ static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
>> struct dw_mci_drv_data *drv_data = slot->host->drv_data;
>> u32 regs;
>>
>> - /* set default 1 bit mode */
>> - slot->ctype = SDMMC_CTYPE_1BIT;
>> -
>> switch (ios->bus_width) {
>> - case MMC_BUS_WIDTH_1:
>> - slot->ctype = SDMMC_CTYPE_1BIT;
>> - break;
>> case MMC_BUS_WIDTH_4:
>> slot->ctype = SDMMC_CTYPE_4BIT;
>> break;
>> case MMC_BUS_WIDTH_8:
>> slot->ctype = SDMMC_CTYPE_8BIT;
>> break;
>> + default:
>> + /* set default 1 bit mode */
>> + slot->ctype = SDMMC_CTYPE_1BIT;
>> }
>>
>> regs = mci_readl(slot->host, UHS_REG);
>> --
>> 1.7.4.1
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2012-11-27 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-08 8:35 [PATCH v3 2/4] mmc: dw-mmc: remove the duplicated code Jaehoon Chung
2012-11-27 8:01 ` Seungwon Jeon
2012-11-27 9:41 ` James Hogan [this message]
2012-11-29 15:03 ` Jae hoon Chung
2012-12-03 19:46 ` Chris Ball
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=50B48AC4.2050606@imgtec.com \
--to=james.hogan@imgtec.com \
--cc=cjb@laptop.org \
--cc=jh80.chung@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=tgih.jun@samsung.com \
--cc=will.newton@imgtec.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).