From: Mike Turquette <mturquette@linaro.org>
To: Tushar Behera <tushar.behera@linaro.org>,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org
Cc: kgene.kim@samsung.com, patches@linaro.org,
Thomas Abraham <thomas.abraham@linaro.org>
Subject: Re: [PATCH] clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3}
Date: Thu, 04 Apr 2013 14:33:31 -0700 [thread overview]
Message-ID: <20130404213331.8665.7028@quantum> (raw)
In-Reply-To: <1364890840-20052-1-git-send-email-tushar.behera@linaro.org>
Quoting Tushar Behera (2013-04-02 01:20:40)
> In legacy setup, sclk_mmc{0,1,2,3} used PRE_RATIO bit-field (8-bit wide)
> instead of RATIO bit-field (4-bit wide) for dividing clock rate.
>
> With current common clock setup, we are using RATIO bit-field which
> is creating FIFO read errors while accessing eMMC. Changing over to
> use PRE_RATIO bit-field fixes this issue.
>
> dwmmc_exynos 12200000.dwmmc0: data FIFO error (status=00008020)
> mmcblk0: error -5 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
> end_request: I/O error, dev mmcblk0, sector 1
>
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> CC: Thomas Abraham <thomas.abraham@linaro.org>
I guess this will be applied through the samsung tree, so:
Acked-by: Mike Turquette <mturquette@linaro.org>
> ---
>
> Based on Kukjin's for-next branch.
> commit d58f6a153f40 ("Merge branch 'next/clk-exynos-2' into for-next")
>
> drivers/clk/samsung/clk-exynos5250.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c
> index 1152125..2c46fbd 100644
> --- a/drivers/clk/samsung/clk-exynos5250.c
> +++ b/drivers/clk/samsung/clk-exynos5250.c
> @@ -274,10 +274,10 @@ struct samsung_div_clock exynos5250_div_clks[] __initdata = {
> DIV(none, "div_pcm0", "sclk_audio0", DIV_MAU, 4, 8),
> DIV(none, "div_sata", "mout_sata", DIV_FSYS0, 20, 4),
> DIV(none, "div_usb3", "mout_usb3", DIV_FSYS0, 24, 4),
> - DIV(none, "div_mmc0", "mout_mmc0", DIV_FSYS1, 0, 4),
> - DIV(none, "div_mmc1", "mout_mmc1", DIV_FSYS1, 16, 4),
> - DIV(none, "div_mmc2", "mout_mmc2", DIV_FSYS2, 0, 4),
> - DIV(none, "div_mmc3", "mout_mmc3", DIV_FSYS2, 16, 4),
> + DIV(none, "div_mmc0", "mout_mmc0", DIV_FSYS1, 8, 8),
> + DIV(none, "div_mmc1", "mout_mmc1", DIV_FSYS1, 24, 8),
> + DIV(none, "div_mmc2", "mout_mmc2", DIV_FSYS2, 8, 8),
> + DIV(none, "div_mmc3", "mout_mmc3", DIV_FSYS2, 24, 8),
> DIV(none, "div_uart0", "mout_uart0", DIV_PERIC0, 0, 4),
> DIV(none, "div_uart1", "mout_uart1", DIV_PERIC0, 4, 4),
> DIV(none, "div_uart2", "mout_uart2", DIV_PERIC0, 8, 4),
> --
> 1.7.9.5
next prev parent reply other threads:[~2013-04-04 21:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 8:20 [PATCH] clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3} Tushar Behera
2013-04-04 21:33 ` Mike Turquette [this message]
2013-04-08 7:22 ` Kukjin Kim
2013-04-16 19:35 ` Doug Anderson
2013-04-22 17:40 ` Olof Johansson
2013-04-23 2:52 ` Tushar Behera
2013-04-23 6:31 ` [PATCH] clk: exynos5250: Fix parent clock " Tushar Behera
2013-04-23 15:59 ` Doug Anderson
2013-04-23 16:23 ` Mike Turquette
2013-04-23 16:42 ` Kukjin Kim
2013-04-24 2:53 ` Olof Johansson
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=20130404213331.8665.7028@quantum \
--to=mturquette@linaro.org \
--cc=kgene.kim@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=patches@linaro.org \
--cc=thomas.abraham@linaro.org \
--cc=tushar.behera@linaro.org \
/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