[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53CE7566.8020906@gmail.com>
Date: Tue, 22 Jul 2014 19:59:58 +0530
From: Varka Bhadram <varkabhadram@...il.com>
To: Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org, linux-iio@...r.kernel.org
CC: kgene.kim@...sung.com, pawel.moll@....com, t.figa@...sung.com,
linux-kernel@...r.kernel.org, Chanwoo Choi <cw00.choi@...sung.com>,
kyungmin.park@...sung.com, linux-samsung-soc@...r.kernel.org,
Jonathan Cameron <jic23@...nel.org>,
Ben Dooks <ben-linux@...ff.org>, galak@...eaurora.org,
ch.naveen@...sung.com, linux-input <linux-input@...r.kernel.org>,
heiko.stuebner@...com, Dmitry Torokhov <dmitry.torokhov@...il.com>
Subject: Re: [PATCH v2] iio: exynos-adc: add experimental touchscreen support
On Tuesday 22 July 2014 06:33 PM, Arnd Bergmann wrote:
(...)
>
> +static int exynos_read_s3c64xx_ts(struct iio_dev *indio_dev, int *x, int *y)
> +{
> + struct exynos_adc *info = iio_priv(indio_dev);
> + unsigned long timeout;
> + int ret;
> +
> + mutex_lock(&indio_dev->mlock);
> + info->read_ts = true;
> +
> + reinit_completion(&info->completion);
> +
> + writel(ADC_S3C2410_TSC_PULL_UP_DISABLE | ADC_TSC_AUTOPST,
> + ADC_V1_TSC(info->regs));
> +
> + /* Select the ts channel to be used and Trigger conversion */
> + info->data->start_conv(info, ADC_S3C2410_MUX_TS);
> +
> + timeout = wait_for_completion_timeout
> + (&info->completion, EXYNOS_ADC_TIMEOUT);
Should be properly aligned:
wait_for_completion_timeout(&info->completion,
EXYNOS_ADC_TIMEOUT);
--
Regards,
Varka Bhadram
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists