[PATCH 2/2] i2c: omap: fix i2c bus number output
Sascha Hauer
s.hauer at pengutronix.de
Wed Jun 3 00:56:39 PDT 2015
On Tue, Jun 02, 2015 at 09:03:51PM +0200, Robert Schwebel wrote:
> When probing from devicetree, the output for several i2c host
> controllers prints out a bus number of -1:
>
> i2c-omap 44e0b000.i2c: bus -1 rev0.11 at 400 kHz
> i2c-omap 4802a000.i2c: bus -1 rev0.11 at 400 kHz
> i2c-omap 4819c000.i2c: bus -1 rev0.11 at 400 kHz
>
> The call to i2c_add_numbered_adapter() in probe finds out the next free
> bus number, so we move the output to a location where the number is
> already determined.
>
> Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
> ---
> drivers/i2c/busses/i2c-omap.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list