Re: [PATCH] cpukit/libi2c allowed to probe on device init

2015-04-02 Thread Alexandru-Sever Horin
rtems.org/doxygen/cpukit/html/group__I2C.html > > For example see: > > https://git.rtems.org/rtems/tree/cpukit/dev/i2c > > https://git.rtems.org/rtems/tree/testsuites/libtests/i2c01 > > > On 02/04/15 08:48, Alexandru-Sever Horin wrote: > >> From: Alexandru-Sev

[PATCH] cpukit/libi2c allowed to probe on device init

2015-04-01 Thread Alexandru-Sever Horin
From: Alexandru-Sever Horin libi2c registration of a device fails if the device initialization fails Benefits: allows for device probing on multiple addresses --- cpukit/libi2c/libi2c.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/cpukit

[PATCH] libi2c allowed to probe on device init libi2c registration of a device fails if the device initialization fails Benefits: allows for device probing on multiple addreses

2015-04-01 Thread Alexandru-Sever Horin
From: Alexandru-Sever Horin --- cpukit/libi2c/libi2c.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c index 233cb68..315a761 100644 --- a/cpukit/libi2c/libi2c.c +++ b/cpukit/libi2c/libi2c.c

[PATCH] libi2c allowed to probe on device init libi2c registration of a device fails if the device initialization fails Benefits: allows for device probing on multiple addreses

2015-04-01 Thread Alexandru-Sever Horin
From: Alexandru-Sever Horin --- cpukit/libi2c/libi2c.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c index 233cb68..43daa86 100644 --- a/cpukit/libi2c/libi2c.c +++ b/cpukit/libi2c/libi2c.c @@ -736,6

libi2c device probing capability

2015-04-01 Thread Alexandru-Sever Horin
hed a patch to solve this problem, and bypass device registration in the filesystem if the initialziation fails. Please review the changes and merge if you agree. Thank you, Alex H. From cacb39244bcde68b65aa90e0c8699c42e53812ac Mon Sep 17 00:00:00 2001 From: Alexandru-Sever Horin Date: Wed, 1 Apr 20