From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arroyo.ext.ti.com ([198.47.19.12]:46205 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752051AbcHHLF2 (ORCPT ); Mon, 8 Aug 2016 07:05:28 -0400 From: Vignesh R To: Jonathan Cameron CC: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Lee Jones , "Andrew F . Davis" , , , , Vignesh R Subject: [PATCH 0/2] ADC: Fix bugs related to oneshot read Date: Mon, 8 Aug 2016 16:34:59 +0530 Message-ID: <20160808110501.29586-1-vigneshr@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org 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