All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pantelis Antoniou <panto@antoniou-consulting.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] mmc: exynos_dw_mmc: set to clksel_val into board-init function
Date: Mon, 23 Feb 2015 19:40:01 +0200	[thread overview]
Message-ID: <81585348-7509-4B98-A0FA-4844565A2208@antoniou-consulting.com> (raw)
In-Reply-To: <1423032520-18165-3-git-send-email-jh80.chung@samsung.com>

Hi Jaehoon,

> On Feb 4, 2015, at 08:48 , Jaehoon Chung <jh80.chung@samsung.com> wrote:
> 
> "clksel_val" is assigned to property of mmc or defined value.
> But it doesn't write at initial sequence.
> There is a reason that get the wrong source-clock value.
> This patch fixed it.
> 
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> ---
> drivers/mmc/exynos_dw_mmc.c | 4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
> index dfa209b..3936660 100644
> --- a/drivers/mmc/exynos_dw_mmc.c
> +++ b/drivers/mmc/exynos_dw_mmc.c
> @@ -64,6 +64,10 @@ static void exynos_dwmci_board_init(struct dwmci_host *host)
> 			     MPSCTRL_NON_SECURE_READ_BIT |
> 			     MPSCTRL_NON_SECURE_WRITE_BIT | MPSCTRL_VALID);
> 	}
> +
> +	/* Set to clksel_val at initial time */
> +	if (host->clksel_val)
> +		exynos_dwmci_clksel(host);
> }
> 
> static int exynos_dwmci_core_init(struct dwmci_host *host, int index)
> -- 
> 1.9.1
> 

Thanks, applied

? Pantelis

  reply	other threads:[~2015-02-23 17:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04  6:48 [U-Boot] [PATCH 0/3] mmc: dw_mmc: fixed minor problems Jaehoon Chung
2015-02-04  6:48 ` [U-Boot] [PATCH 1/3] mmc: dw_mmc: fixed the wrong bit control Jaehoon Chung
2015-02-23 17:38   ` Pantelis Antoniou
2015-02-04  6:48 ` [U-Boot] [PATCH 2/3] mmc: exynos_dw_mmc: set to clksel_val into board-init function Jaehoon Chung
2015-02-23 17:40   ` Pantelis Antoniou [this message]
2015-02-23 17:40   ` Pantelis Antoniou
2015-02-04  6:48 ` [U-Boot] [PATCH 3/3] mmc: exynos_dw_mmc: use the exynos specific data structure Jaehoon Chung

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=81585348-7509-4B98-A0FA-4844565A2208@antoniou-consulting.com \
    --to=panto@antoniou-consulting.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.