On Wed, Sep 18, 2019 at 11:29 PM Christian Mauderer
wrote:
> Hello Vijay,
>
> I tried it and the patch works. But there is a point that might could be
> improved:
>
> My application can still call bbb_register_i2c_0(). If I do that it
> returns an error code. That's better than if it would just i
Hello Vijay,
I tried it and the patch works. But there is a point that might could be
improved:
My application can still call bbb_register_i2c_0(). If I do that it
returns an error code. That's better than if it would just initialize
the bus twice. But it's not very clear from a user perspective.
---
bsps/arm/beagle/i2c/bbb-i2c.c| 6 +++---
bsps/arm/beagle/start/bspstart.c | 13 +
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/bsps/arm/beagle/i2c/bbb-i2c.c b/bsps/arm/beagle/i2c/bbb-i2c.c
index 37b88864b9..f705078085 100644
--- a/bsps/arm/beagle/i2c/bbb-i2c