From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752934AbcHQMOR (ORCPT ); Wed, 17 Aug 2016 08:14:17 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:45311 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbcHQMOO (ORCPT ); Wed, 17 Aug 2016 08:14:14 -0400 From: Vignesh R To: Jonathan Cameron CC: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Lee Jones , Vignesh R , "Andrew F . Davis" , , , Subject: [PATCH v2 0/2] ti_am335x_adc: Fix bugs related to oneshot read Date: Wed, 17 Aug 2016 17:42:59 +0530 Message-ID: <20160817121301.21785-1-vigneshr@ti.com> X-Mailer: git-send-email 2.9.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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