Re: [alsa-devel] [PATCH v2] staging: bcm2835-audio: interpolate audio delay

2018-10-24 Thread Mike Brady
Hi Kirill. Thanks for your comments. > On 22 Oct 2018, at 23:25, Kirill Marinushkin wrote: > > AFAIU, this patch is wrong. Please correct me, maybe I misunderstand > something. > >> The problem that this patch seeks to resolve is that when userland asks for >> the delay > > The userspace asks

Re: [PATCH v2] staging: mt7621-dma: Add braces around else branches

2018-10-24 Thread Matthias Brugger
Hi Kiberly, Thanks for adding all the emails in CC. I would encourage you for your next patch to distinguish between CC and TO. You should send your patch TO important maintainers in the get_maintainers.pl list (as default, to all of them). If there is someone you really want to look into the patc

[PATCH v2] staging: greybus: loopback.c: remove unused lists

2018-10-24 Thread Rasmus Villemoes
gb_loopback_device::list_op_async is never used except for the LIST_INIT. The ::list field appears to have a few more uses, but on closer inspection the linked list of struct gb_loopbacks that it heads is never used for anything, so there's no reason to maintain it, much less to keep it sorted. Re

Re: [PATCH v2] staging: mt7621-dma: Add braces around else branches

2018-10-24 Thread Russell King - ARM Linux
On Wed, Oct 24, 2018 at 12:45:44PM +0200, Matthias Brugger wrote: > Hi Kiberly, > > Thanks for adding all the emails in CC. > I would encourage you for your next patch to distinguish between CC and TO. > You should send your patch TO important maintainers in the get_maintainers.pl > list (as defau

Re: [PATCH v2] staging: mt7621-dma: Add braces around else branches

2018-10-24 Thread Dan Carpenter
On Wed, Oct 24, 2018 at 12:45:44PM +0200, Matthias Brugger wrote: > Hi Kiberly, > > Thanks for adding all the emails in CC. > I would encourage you for your next patch to distinguish between CC and TO. > You should send your patch TO important maintainers in the get_maintainers.pl > list (as defau

Re: [Outreachy kernel] Re: [PATCH v2] staging: mt7621-dma: Add braces around else branches

2018-10-24 Thread Julia Lawall
On Wed, 24 Oct 2018, Russell King - ARM Linux wrote: > On Wed, Oct 24, 2018 at 12:45:44PM +0200, Matthias Brugger wrote: > > Hi Kiberly, > > > > Thanks for adding all the emails in CC. > > I would encourage you for your next patch to distinguish between CC and TO. > > You should send your patch

Re: [Outreachy kernel] Re: [PATCH v2] staging: mt7621-dma: Add braces around else branches

2018-10-24 Thread Russell King - ARM Linux
On Wed, Oct 24, 2018 at 02:06:18PM +0100, Julia Lawall wrote: > > > On Wed, 24 Oct 2018, Russell King - ARM Linux wrote: > > > On Wed, Oct 24, 2018 at 12:45:44PM +0200, Matthias Brugger wrote: > > > Hi Kiberly, > > > > > > Thanks for adding all the emails in CC. > > > I would encourage you for y

[PATCH] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Spencer E. Olson
Changes implementation of INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS for ni_mio devices to scale the result by the number of channels being used. The user is already required to indicate which channels (and how many obviously) are intended to be used. There is no point of not using this information--t

Re: [PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-24 Thread Nishad Kamdar
On Wed, Oct 24, 2018 at 08:52:49AM +0200, Slawomir Stepien wrote: > On paź 24, 2018 00:34, Nishad Kamdar wrote: > > Use the gpiod interface instead of the deprecated old non-descriptor > > interface. > > Hi Nishad > > Few more comments from me below. > > > Signed-off-by: Nishad Kamdar > > --- >

Re: [PATCH] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Dan Carpenter
On Wed, Oct 24, 2018 at 07:59:45AM -0600, Spencer E. Olson wrote: > Changes implementation of INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS for > ni_mio devices to scale the result by the number of channels being used. I really can't understand this statement at all. What changes the implementation? >

Re: [PATCH] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Spencer Olson
On Wed, Oct 24, 2018 at 8:18 AM Dan Carpenter wrote: > > On Wed, Oct 24, 2018 at 07:59:45AM -0600, Spencer E. Olson wrote: > > Changes implementation of INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS for > > ni_mio devices to scale the result by the number of channels being used. > > I really can't unders

[PATCH] staging: comedi: clarify/unify macros for NI macro-defined terminals

2018-10-24 Thread Spencer E. Olson
Uses a single macro to define multiple macros that represent a series of terminals for NI devices. This patch also redefines NI_MAX_COUNTERS as the maximum number of counters possible on NI devices (instead of the maximum index of the counters). This was a little confusing and caused a bug in com

[PATCH v2] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Spencer E. Olson
Fixes implementation of INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS for ni_mio devices. The previous patch should have used the channel information passed in to scale the result by the number of channels being used. Fixes: 51fd36738383 ("staging: comedi: ni_mio_common: implement INSN_CONFIG_GET_CMD_T

Re: [PATCH] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Dan Carpenter
On Wed, Oct 24, 2018 at 08:26:51AM -0600, Spencer Olson wrote: > On Wed, Oct 24, 2018 at 8:18 AM Dan Carpenter > wrote: > > > > On Wed, Oct 24, 2018 at 07:59:45AM -0600, Spencer E. Olson wrote: > > > Changes implementation of INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS for > > > ni_mio devices to scal

[PATCH v4] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-24 Thread Nishad Kamdar
Use the gpiod interface instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- Changes in v4: - Add spaces after { and before } in gpios[] initialization. - Check the correct pointer for error. - Align the dev_err msg to existing format in the code. Changes

Re: [PATCH v2] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Dan Carpenter
That works. Thanks! regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: axis-fifo: Fix line over 80 characters error

2018-10-24 Thread Aleksa Zdravkovic
This patch fixes the checkpatch.pl warning: WARNING: line over 80 characters +(write_timeout >= 0) ? msecs_to_jiffies(write_timeout) : Signed-off-by: Aleksa Zdravkovic --- drivers/staging/axis-fifo/axis-fifo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

RE: [PATCH V2 1/5] Drivers: hv: vmbus: Get rid of unnecessary state in hv_context

2018-10-24 Thread Michael Kelley
From: k...@linuxonhyperv.com Sent: Wednesday, October 17, 2018 10:09 PM > > Currently we are replicating state in struct hv_context that is unnecessary - > this state can be retrieved from the hypervisor. Furthermore, this is a > per-cpu > state that is being maintained as a global state in st

RE: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up

2018-10-24 Thread Michael Kelley
From: k...@linuxonhyperv.com Sent: Wednesday, October 17, 2018 10:10 PM > From: Dexuan Cui > > In kvp_send_key(), we do need call process_ib_ipinfo() if > message->kvp_hdr.operation is KVP_OP_GET_IP_INFO, because it turns out > the userland hv_kvp_daemon needs the info of operation, adapter_id

Re: [PATCH] staging: iio: adt7316: Switch to the gpio descriptor interface

2018-10-24 Thread Nishad Kamdar
On Mon, Oct 22, 2018 at 11:22:15PM +0530, Shreeya Patel wrote: > On Mon, 2018-10-22 at 22:44 +0530, Nishad Kamdar wrote: > > Use the gpiod interface instead of the deprecated old non-descriptor > > interface for ldac_pin. > > > > Signed-off-by: Nishad Kamdar > > --- > > Hi Nishad, > > I have be

Re: [PATCH] staging: comedi: clarify/unify macros for NI macro-defined terminals

2018-10-24 Thread Ian Abbott
On 24/10/18 15:33, Spencer E. Olson wrote: Uses a single macro to define multiple macros that represent a series of terminals for NI devices. This patch also redefines NI_MAX_COUNTERS as the maximum number of counters possible on NI devices (instead of the maximum index of the counters). This w

Re: [PATCH] staging: comedi: clarify/unify macros for NI macro-defined terminals

2018-10-24 Thread Spencer Olson
On Wed, Oct 24, 2018 at 10:39 AM Ian Abbott wrote: > > On 24/10/18 15:33, Spencer E. Olson wrote: > > Uses a single macro to define multiple macros that represent a series of > > terminals for NI devices. This patch also redefines NI_MAX_COUNTERS as the > > maximum number of counters possible on

Re: [PATCH v2] staging: comedi: ni_mio_common: scale ao INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

2018-10-24 Thread Ian Abbott
On 24/10/18 15:46, Spencer E. Olson wrote: Fixes implementation of INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS for ni_mio devices. The previous patch should have used the channel information passed in to scale the result by the number of channels being used. Fixes: 51fd36738383 ("staging: comedi: ni

Re: [alsa-devel] [PATCH v2] staging: bcm2835-audio: interpolate audio delay

2018-10-24 Thread Kirill Marinushkin
Hello Mike, On 10/24/18 10:20, Mike Brady wrote: > Hi Kirill. Thanks for your comments. > >> On 22 Oct 2018, at 23:25, Kirill Marinushkin wrote: >> >> AFAIU, this patch is wrong. Please correct me, maybe I misunderstand >> something. >> >>> The problem that this patch seeks to resolve is that w

Re: [alsa-devel] [PATCH v2] staging: bcm2835-audio: interpolate audio delay

2018-10-24 Thread Mike Brady
Hi Kirill. Thanks again for your comments. > On 24 Oct 2018, at 19:06, Kirill Marinushkin wrote: > > Hello Mike, > > On 10/24/18 10:20, Mike Brady wrote: >> Hi Kirill. Thanks for your comments. >> >>> On 22 Oct 2018, at 23:25, Kirill Marinushkin >>> wrote: >>> >>> AFAIU, this patch is wrong

Re: [alsa-devel] [PATCH v2] staging: bcm2835-audio: interpolate audio delay

2018-10-24 Thread Kirill Marinushkin
Hello Mike, We are not on the same page. What you hear is not what I tell you. Either you don't understand what happens in your commit, or I don't understand what happens in the driver. Hopefully somebody in the community can comment here. On 10/24/18 21:54, Mike Brady wrote: You modify the

[PATCH] staging: comedi: change do_insn*_ioctl to allow more samples

2018-10-24 Thread Spencer E. Olson
Changes do_insn*_ioctl functions to allow for data lengths for each comedi_insn of up to 2^16. This patch also changes these functions to only allocate as much memory as is necessary for each comedi_insn, rather than allocating a fixed-sized scratch space. In testing some user-space code for the

Re: [PATCH] staging: axis-fifo: Fix line over 80 characters error

2018-10-24 Thread Dan Carpenter
On Wed, Oct 24, 2018 at 05:05:53PM +0200, Aleksa Zdravkovic wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: line over 80 characters > + (write_timeout >= 0) ? msecs_to_jiffies(write_timeout) > : > > Signed-off-by: Aleksa Zdravkovic > --- > drivers/staging

Re: [PATCH v4] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-24 Thread Slawomir Stepien
On paź 24, 2018 20:20, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. > > Signed-off-by: Nishad Kamdar > --- > Changes in v4: > - Add spaces after { and before } in gpios[] >initialization. > - Check the correct pointer for error. >