[PATCH] i2c_probe: fix wrong start and stop addresses

Sascha Hauer s.hauer at pengutronix.de
Thu Apr 14 22:33:11 PDT 2016


On Wed, Apr 13, 2016 at 11:24:34PM +0200, Miquel Raynal wrote:
> This patch fixes the wrong range of i2c addresses used by the i2c_probe
> command when a stop address is provided. In this case the start address
> (startaddr) was taking the value of the stop address and the stop address
> (stopaddr) was always set to its default value.
> 
> Signed-off-by: Miquel Raynal <raynal.miquel at gmail.com>
> ---
>  commands/i2c.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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