All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH resend] mmc: mtk-sd: don't ignore max-frequency from device tree
Date: Thu, 18 Mar 2021 12:56:36 -0400	[thread overview]
Message-ID: <20210318165636.GK1310@bill-the-cat> (raw)
In-Reply-To: <YE99v02mQEZKjbr2@makrotopia.org>

On Mon, Mar 15, 2021 at 03:31:11PM +0000, Daniel Golle wrote:

> commit e58e68d9 ("mmc: mtk-sd: assign plat->cfg.f_max with a correct value")
> wrongly assumed that plat->cfg.f_max is always unset at the time
> mscd_drv_probe() is run. This is not true in case max-frequency being
> defined in device tree, as it is then already set by mmc_of_parse()
> in msdc_of_to_plat().
> Only set plat->cfg.f_max to the default maximum value in case it is
> not already set to a sane value.
> 
> Fixes: e58e68d93e ("mmc: mtk-sd: assign plat->cfg.f_max with a correct value")
> Cc: Stefan Roese <sr@denx.de>
> Cc: Weijie Gao <weijie.gao@mediatek.com>
> Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210318/4ab91a0d/attachment.sig>

      reply	other threads:[~2021-03-18 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 15:31 [PATCH resend] mmc: mtk-sd: don't ignore max-frequency from device tree Daniel Golle
2021-03-18 16:56 ` Tom Rini [this message]

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=20210318165636.GK1310@bill-the-cat \
    --to=trini@konsulko.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.