All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] mmc-uclass: correct the device number
Date: Mon, 25 Jul 2016 14:11:01 +0900	[thread overview]
Message-ID: <57959F65.7060108@samsung.com> (raw)
In-Reply-To: <CAPnjgZ0k9Gx6S7x73_v8d+BQxS0B5PuE_AjDCs8ZmsSgEOKmjw@mail.gmail.com>

On 07/23/2016 11:08 AM, Simon Glass wrote:
> On 22 July 2016 at 03:22, Kever Yang <kever.yang@rock-chips.com> wrote:
>> Not like the mmc-legacy which the devnum starts from 1, it starts from 0
>> in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().
>>
>> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
>> ---
>>
>> Changes in v4:
>> - call blk_find_max_devnum() in mmc_get_next_devnum for error return.
>>
>> Changes in v3:
>> - apply comments from Jaehoon Chung
>>
>> Changes in v2:
>> - add comment for get_mmc_num() in mmc.h
>> - update mmc_get_next_devnum()
>>
>>  drivers/mmc/mmc-uclass.c | 6 +++---
>>  include/mmc.h            | 6 ++++++
>>  2 files changed, 9 insertions(+), 3 deletions(-)
> 
> Acked-by: Simon Glass <sjg@chromium.org>
> 

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

> 
> 

  reply	other threads:[~2016-07-25  5:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22  9:22 [U-Boot] [PATCH v4] mmc-uclass: correct the device number Kever Yang
2016-07-23  2:08 ` Simon Glass
2016-07-25  5:11   ` Jaehoon Chung [this message]
2016-07-28  3:33     ` Simon Glass

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=57959F65.7060108@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=u-boot@lists.denx.de \
    /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.