[PATCH v2] iio: mxs-lradc: Do hardware initialization earlier

Jonathan Cameron jic23 at kernel.org
Fri Mar 29 05:30:06 EDT 2013


On 03/28/2013 10:58 PM, Marek Vasut wrote:
> Dear Alexandre Belloni,
> 
>> We need to initialize hardware before registering the touchscreen. Else,
>> we end up setting registers in mxs_lradc_ts_open(), getting called just
>> after registering the touchscreen with input_register_device() and by
>> the end of mxs_lradc_probe(), we reset the LRADC block hence losing the
>> correct configuration.
>>
>> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
>> Cc: Fabio Estevam <fabio.estevam at freescale.com>
>> Cc: Jonathan Cameron <jic23 at kernel.org>
>> Cc: Marek Vasut <marex at denx.de>
> 
> Acked-by: Marek Vasut <marex at denx.de>
Applied to togreg branch of iio.git. Thanks.
> 
> Best regards,
> Marek Vasut
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



More information about the linux-arm-kernel mailing list