All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Lentz <JLentz@zhone.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fsl_esdhc.c bug
Date: Fri, 16 Dec 2011 08:48:21 -0500	[thread overview]
Message-ID: <4EEB4C25.2070005@zhone.com> (raw)

All,

There is a bug rendering SDCard support useless on Freescale esdhc 
controller.

File drivers/mmc/fsl_esdhc.c, function esdhc_pio_read_write

*change: *

struct fsl_esdhc *regs = mmc->priv;

*to:*

struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
volatile struct fsl_esdhc *regs = (struct fsl_esdhc *)cfg->esdhc_base;

How do I/we get this into the mainstream?

I cloned the repository, and have it fixed. First time using git, and 
trying to contribute to OpenSource too.

Regards,

Jim

             reply	other threads:[~2011-12-16 13:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16 13:48 Jim Lentz [this message]
2011-12-16 14:17 ` [U-Boot] fsl_esdhc.c bug Graeme Russ
2011-12-16 14:51 ` Fabio Estevam
2011-12-16 14:53   ` Jim Lentz
2011-12-16 18:06     ` Ira W. Snyder

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=4EEB4C25.2070005@zhone.com \
    --to=jlentz@zhone.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.