All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] i2c:multibus:fix: Correct I2C_MULTI_BUS value when support for many buses is enabled
@ 2013-08-16 13:31 Lukasz Majewski
  2013-08-20  9:22 ` Heiko Schocher
  0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Majewski @ 2013-08-16 13:31 UTC (permalink / raw)
  To: u-boot

The I2C_MULTI_BUS needs to be defined for correct I2C operation with
many software emulated I2C controllers.

This fix restores correct value of the I2C_MULTI_BUS changed by following
commit:

SHA1: 385c9ef5a7215b2b0c22836fee6c692dfc8559d7
i2c: add i2c_core and prepare for new multibus support

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
---
 include/i2c.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/i2c.h b/include/i2c.h
index d8674ef..8fd17d1 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -390,7 +390,7 @@ unsigned int i2c_get_bus_speed(void);
 # if !defined(CONFIG_SYS_MAX_I2C_BUS)
 #  define CONFIG_SYS_MAX_I2C_BUS		2
 # endif
-# define I2C_MULTI_BUS				0
+# define I2C_MULTI_BUS				1
 #else
 # define CONFIG_SYS_MAX_I2C_BUS		1
 # define I2C_MULTI_BUS				0
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] i2c:multibus:fix: Correct I2C_MULTI_BUS value when support for many buses is enabled
  2013-08-16 13:31 [U-Boot] [PATCH] i2c:multibus:fix: Correct I2C_MULTI_BUS value when support for many buses is enabled Lukasz Majewski
@ 2013-08-20  9:22 ` Heiko Schocher
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Schocher @ 2013-08-20  9:22 UTC (permalink / raw)
  To: u-boot

Hello Lukasz,

Am 16.08.2013 15:31, schrieb Lukasz Majewski:
> The I2C_MULTI_BUS needs to be defined for correct I2C operation with
> many software emulated I2C controllers.
>
> This fix restores correct value of the I2C_MULTI_BUS changed by following
> commit:
>
> SHA1: 385c9ef5a7215b2b0c22836fee6c692dfc8559d7
> i2c: add i2c_core and prepare for new multibus support
>
> Signed-off-by: Lukasz Majewski<l.majewski@samsung.com>
> Cc: Heiko Schocher<hs@denx.de>
> ---
>   include/i2c.h |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-i2c.git, thanks.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-20  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16 13:31 [U-Boot] [PATCH] i2c:multibus:fix: Correct I2C_MULTI_BUS value when support for many buses is enabled Lukasz Majewski
2013-08-20  9:22 ` Heiko Schocher

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.