From: Alexandre Belloni Date: Thu, 28 Mar 2013 22:04:00 +0000 (+0000) Subject: iio: mxs-lradc: Do hardware initialization earlier X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~378^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e8a9687b785b4c75d71370681f7a6e9fd89685;p=pandora-kernel.git iio: mxs-lradc: Do hardware initialization earlier 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 Acked-by: Marek Vasut Signed-off-by: Jonathan Cameron Cc: Fabio Estevam --- Reading git-diff-tree failed