linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ADC: Fix bugs related to oneshot read
@ 2016-08-08 11:04 Vignesh R
  2016-08-08 11:05 ` [PATCH 1/2] iio: adc: ti_am335x_adc: Protect FIFO1 from concurrent access Vignesh R
  2016-08-08 11:05 ` [PATCH 2/2] iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample Vignesh R
  0 siblings, 2 replies; 10+ messages in thread
From: Vignesh R @ 2016-08-08 11:04 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
	Lee Jones, Andrew F . Davis, linux-iio, linux-kernel, linux-omap,
	Vignesh R



This series fixes a couple of bugs related to simultaneous read of
multiple ADC channels in oneshot mode. Since, all channels share FIFO1,
it has to be protected using a mutex, implemented by patch 1. Patch 2
increases the timeout waiting for a ADC sample.

Vignesh R (2):
  iio: adc: ti_am335x_adc: Protect FIFO1 from concurrent access
  iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample

 drivers/iio/adc/ti_am335x_adc.c      | 16 ++++++++++++----
 include/linux/mfd/ti_am335x_tscadc.h |  8 ++++----
 2 files changed, 16 insertions(+), 8 deletions(-)

-- 
2.9.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-17 11:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 11:04 [PATCH 0/2] ADC: Fix bugs related to oneshot read Vignesh R
2016-08-08 11:05 ` [PATCH 1/2] iio: adc: ti_am335x_adc: Protect FIFO1 from concurrent access Vignesh R
2016-08-09  9:51   ` Matt Ranostay
2016-08-09  9:57     ` Vignesh R
2016-08-15 15:45   ` Jonathan Cameron
2016-08-17 11:13     ` Vignesh R
2016-08-08 11:05 ` [PATCH 2/2] iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample Vignesh R
2016-08-09  9:35   ` Lee Jones
2016-08-15 15:47   ` Jonathan Cameron
2016-08-17 11:11     ` Vignesh R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).