All of lore.kernel.org
 help / color / mirror / Atom feed
From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] board:trats1:trats2: fix adapter number
Date: Tue, 31 Dec 2013 16:44:56 +0900	[thread overview]
Message-ID: <52C275F8.2080701@samsung.com> (raw)
In-Reply-To: <1387377817-28492-1-git-send-email-p.wilczek@samsung.com>

On 18/12/13 23:43, Piotr Wilczek wrote:
> This fix is necessary after increased by one the number
> of adapters in s3c24x0 driver.
> 
> Tested on Trats and Trats2.
> 
> Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> Cc: Lukasz Majewski <l.majewski@samsung.com>
> ---
>  board/samsung/trats/trats.c   |    2 +-
>  board/samsung/trats2/trats2.c |    6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
> index 8aba51c..640a193 100644
> --- a/board/samsung/trats/trats.c
> +++ b/board/samsung/trats/trats.c
> @@ -295,7 +295,7 @@ int power_init_board(void)
>  	 */
>  	ret = pmic_init(I2C_5);
>  	ret |= pmic_init_max8997();
> -	ret |= power_fg_init(I2C_8);
> +	ret |= power_fg_init(I2C_9);
>  	ret |= power_muic_init(I2C_5);
>  	ret |= power_bat_init(0);
>  	if (ret)
> diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c
> index 147de17..be15357 100644
> --- a/board/samsung/trats2/trats2.c
> +++ b/board/samsung/trats2/trats2.c
> @@ -195,9 +195,9 @@ int power_init_board(void)
>  #endif
>  	pmic_init(I2C_7);		/* I2C adapter 7 - bus name s3c24x0_7 */
>  	pmic_init_max77686();
> -	pmic_init_max77693(I2C_9);	/* I2C adapter 9 - bus name soft1 */
> -	power_muic_init(I2C_9);		/* I2C adapter 9 - bus name soft1 */
> -	power_fg_init(I2C_8);		/* I2C adapter 8 - bus name soft0 */
> +	pmic_init_max77693(I2C_10);	/* I2C adapter 10 - bus name soft1 */
> +	power_muic_init(I2C_10);	/* I2C adapter 10 - bus name soft1 */
> +	power_fg_init(I2C_9);		/* I2C adapter 9 - bus name soft0 */
>  	power_bat_init(0);
>  
>  	p_chrg = pmic_get("MAX77693_PMIC");
> 


applied to u-boot-samsung.

Thanks,
Minkyu Kang.

      parent reply	other threads:[~2013-12-31  7:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18 14:43 [U-Boot] [PATCH] board:trats1:trats2: fix adapter number Piotr Wilczek
2013-12-19 15:41 ` Piotr Wilczek
2013-12-31  7:44 ` Minkyu Kang [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=52C275F8.2080701@samsung.com \
    --to=mk7.kang@samsung.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.