[PATCH] signal: always allocate siginfo for SI_TKILL

2019-02-02 Thread Jack Andersen
. Without the ability to detect a SIGSTOP originating from tgkill, lldb does not have a way to synchronize on a per-thread basis and falls back to SIGSTOP-ing the entire process. This patch allocates the siginfo as it did previously whenever the SI_TKILL code is present. Signed-off-by: Jack Andersen

Re: [PATCH v6 1/3] iio: adc: Add support for DLN2 ADC

2017-07-10 Thread Jack Andersen
12:39:33 -1000 > Jack Andersen <jackoa...@gmail.com> wrote: > >> This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. >> ADC is the fourth and final component of the DLN2 for the kernel. >> >> Signed-off-by: Jack Andersen <jackoa...@gmai

Re: [PATCH v6 1/3] iio: adc: Add support for DLN2 ADC

2017-07-10 Thread Jack Andersen
It's a pleasure to contribute! The iio interface has simplified our robotics telemetry solution considerably; no more awkward setup. A simple udev script is ideal for bringing the buffer online. On 9 July 2017 at 07:12, Jonathan Cameron wrote: > On Thu, 6 Jul 2017 12:39:33 -1000 > Jack An

[PATCH v6 2/3] mfd: dln2: Add cell for initializing DLN2 ADC

2017-07-06 Thread Jack Andersen
This patch extends the DLN2 driver; adding cell for adc_dln2 module. Signed-off-by: Jack Andersen <jackoa...@gmail.com> Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> --- Changes in v6: - Add commit message For my own reference: Acked-for-MFD-by: Lee Jones <lee.j

[PATCH v6 2/3] mfd: dln2: Add cell for initializing DLN2 ADC

2017-07-06 Thread Jack Andersen
This patch extends the DLN2 driver; adding cell for adc_dln2 module. Signed-off-by: Jack Andersen Acked-for-MFD-by: Lee Jones --- Changes in v6: - Add commit message For my own reference: Acked-for-MFD-by: Lee Jones --- drivers/mfd/dln2.c | 12 1 file changed, 12 insertions

[PATCH v6 1/3] iio: adc: Add support for DLN2 ADC

2017-07-06 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and

[PATCH v6 1/3] iio: adc: Add support for DLN2 ADC

2017-07-06 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and error handling. - Remove

Re: [PATCH v5 3/3] mfd: dln2: Send restart command if HW init fails

2017-07-06 Thread Jack Andersen
device state. On 5 July 2017 at 21:09, Lee Jones <lee.jo...@linaro.org> wrote: > On Wed, 05 Jul 2017, Jack Andersen wrote: > >> I have mixed feelings about making this patch. The device appears to >> lose its ability to send command responses when the driver >> unexp

Re: [PATCH v5 3/3] mfd: dln2: Send restart command if HW init fails

2017-07-06 Thread Jack Andersen
device state. On 5 July 2017 at 21:09, Lee Jones wrote: > On Wed, 05 Jul 2017, Jack Andersen wrote: > >> I have mixed feelings about making this patch. The device appears to >> lose its ability to send command responses when the driver >> unexpectedly goes offline (probably

Re: [PATCH v5 3/3] mfd: dln2: Send restart command if HW init fails

2017-07-05 Thread Jack Andersen
another issue causing init to fail and a restart doesn't fix, this will trigger an endless probe loop. I'm not sure if there's a better way to discern this condition. On 5 July 2017 at 11:12, Jack Andersen <jackoa...@gmail.com> wrote: > There's an issue with reinitializing DLN2 hardwa

Re: [PATCH v5 3/3] mfd: dln2: Send restart command if HW init fails

2017-07-05 Thread Jack Andersen
another issue causing init to fail and a restart doesn't fix, this will trigger an endless probe loop. I'm not sure if there's a better way to discern this condition. On 5 July 2017 at 11:12, Jack Andersen wrote: > There's an issue with reinitializing DLN2 hardware if ADC channel ev

[PATCH v5 3/3] mfd: dln2: Send restart command if HW init fails

2017-07-05 Thread Jack Andersen
a restart command in the event of a failed init. To the kernel's perspective, this is the rough equivalent of a disconnect and reconnect, so another probe occurs shortly afterwards. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- drivers/mfd/dln2.c | 11 ++- 1 file chang

[PATCH v5 3/3] mfd: dln2: Send restart command if HW init fails

2017-07-05 Thread Jack Andersen
a restart command in the event of a failed init. To the kernel's perspective, this is the rough equivalent of a disconnect and reconnect, so another probe occurs shortly afterwards. Signed-off-by: Jack Andersen --- drivers/mfd/dln2.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion

[PATCH v5 1/3] iio: adc: Add support for DLN2 ADC

2017-07-05 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and

[PATCH v5 1/3] iio: adc: Add support for DLN2 ADC

2017-07-05 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and error handling. - Remove

[PATCH v5 2/3] mfd: dln2: Add cell for initializing DLN2 ADC

2017-07-05 Thread Jack Andersen
Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- drivers/mfd/dln2.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/mfd/dln2.c b/drivers/mfd/dln2.c index 704e189..a22ab8c 100644 --- a/drivers/mfd/dln2.c +++ b/drivers/mfd/dln2.c @@ -53,6 +53,7 @@ enum dln2_

[PATCH v5 2/3] mfd: dln2: Add cell for initializing DLN2 ADC

2017-07-05 Thread Jack Andersen
Signed-off-by: Jack Andersen --- drivers/mfd/dln2.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/mfd/dln2.c b/drivers/mfd/dln2.c index 704e189..a22ab8c 100644 --- a/drivers/mfd/dln2.c +++ b/drivers/mfd/dln2.c @@ -53,6 +53,7 @@ enum dln2_handle

[PATCH v4] iio: adc: Add support for DLN2 ADC

2017-06-27 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and

[PATCH v4] iio: adc: Add support for DLN2 ADC

2017-06-27 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and error handling. - Remove

Re: [PATCH v3] iio: adc: Add support for DLN2 ADC

2017-06-27 Thread Jack Andersen
Please ignore this patch, a stray modification to lsgpio.c got in. On 27 June 2017 at 14:53, Jack Andersen <jackoa...@gmail.com> wrote: > This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. > ADC is the fourth and final component of the DLN2 for the kernel. &g

Re: [PATCH v3] iio: adc: Add support for DLN2 ADC

2017-06-27 Thread Jack Andersen
Please ignore this patch, a stray modification to lsgpio.c got in. On 27 June 2017 at 14:53, Jack Andersen wrote: > This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. > ADC is the fourth and final component of the DLN2 for the kernel. > > Signed-off-by: J

[PATCH v3] iio: adc: Add support for DLN2 ADC

2017-06-27 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and

[PATCH v3] iio: adc: Add support for DLN2 ADC

2017-06-27 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen --- Changes in v2: - Address Peter's remarks; bringing consistency to C99 syntax, dev_dbg usage, and error handling. - Remove

[PATCH v2] iio: adc: Add support for DLN2 ADC

2017-06-22 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/dln2-adc.c

[PATCH v2] iio: adc: Add support for DLN2 ADC

2017-06-22 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/dln2-adc.c | 644

[PATCH] iio: adc: Add support for DLN2 ADC

2017-06-21 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <jackoa...@gmail.com> --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/dln2-adc.c

[PATCH] iio: adc: Add support for DLN2 ADC

2017-06-21 Thread Jack Andersen
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/dln2-adc.c | 648

[PATCH] DLN2 module for ADC interface

2017-06-21 Thread Jack Andersen
ng appears to be stable. However, this is my first patch, so it's possible I've missed something. Jack Andersen (1): iio: adc: Add support for DLN2 ADC drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/dln2-a

[PATCH] DLN2 module for ADC interface

2017-06-21 Thread Jack Andersen
ng appears to be stable. However, this is my first patch, so it's possible I've missed something. Jack Andersen (1): iio: adc: Add support for DLN2 ADC drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/dln2-a