public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Holger Brunck <holger.brunck@keymile.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation
Date: Tue, 10 Jul 2012 11:25:35 +0200	[thread overview]
Message-ID: <4FFBF50F.7020801@keymile.com> (raw)
In-Reply-To: <1340893822-4672-1-git-send-email-holger.brunck@keymile.com>

Hi Heiko,

On 06/28/2012 04:30 PM, Holger Brunck wrote:
> If we switch to a different i2c bus in changing the mux config for the
> i2c mux, we have to be sure to deblock the bus also before realocation.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> cc: Heiko Schocher <hs@denx.de>
> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
> 
> ---
>  common/cmd_i2c.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c
> index 2cdc4ed..795814d 100644
> --- a/common/cmd_i2c.c
> +++ b/common/cmd_i2c.c
> @@ -1445,6 +1445,7 @@ int i2c_mux_ident_muxstring_f (uchar *buf)
>  		oldpos = pos;
>  
>  	}
> +	i2c_init_board();
>  
>  	return 0;
>  }


do you consider this one as a bugfix for 2012.07 or do you think it should be
included in the next merge window?

Regards
Holger

  reply	other threads:[~2012-07-10  9:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28 14:30 [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation Holger Brunck
2012-07-10  9:25 ` Holger Brunck [this message]
2012-07-10  9:36   ` Heiko Schocher

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=4FFBF50F.7020801@keymile.com \
    --to=holger.brunck@keymile.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox