Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1518256

Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a DAC and a comparator

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a DAC and a comparator
Date 2016-11-09 16:20 +0100
Message-ID <sBCPn-Bf-13@gated-at.bofh.it> (permalink)
References (3 earlier) <sBjD4-4ES-39@gated-at.bofh.it> <sBjD4-4ES-37@gated-at.bofh.it> <sBmAW-6Em-23@gated-at.bofh.it> <sBmAW-6Em-21@gated-at.bofh.it> <sBCPn-Bf-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 9 Nov 2016, Peter Rosin wrote:
> On 2016-11-08 22:47, Thomas Gleixner wrote:
> > I don't think you need extra race handling with that, but I might be wrong
> > as usual.
> 
> There's obviously no way to determine which of the timeout or the
> interrupt that happens first without some race handling, so I don't
> know what you mean? If the timeout happens first, there is also a
> need to handle late hits from the irq that might come in during the
> preparation for the next step in the binary search. It gets messy
> quickly compared to the simplicity of the current implementation.

Gah, forgot about that timeout thingy. Fair enough.

Feel free to add an 

Acked-by: Thomas Gleixner <tglx@linutronix.de>

Thanks,

	tglx

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a  DAC and a comparator Thomas Gleixner <tglx@linutronix.de> - 2016-11-08 17:10 +0100
  Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a  DAC and a comparator Thomas Gleixner <tglx@linutronix.de> - 2016-11-08 19:50 +0100
    Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a  DAC and a comparator Thomas Gleixner <tglx@linutronix.de> - 2016-11-08 23:00 +0100
      Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a  DAC and a comparator Thomas Gleixner <tglx@linutronix.de> - 2016-11-09 16:20 +0100

csiph-web