input: synaptics_i2c_rmi4: Turn off the reset gpio before freeing it.
Set the direction of reset GPIO to input before freeing it. This eliminates any leakage current which may be there. This patch is propagated from msm-3.10 kernel (commit: c894e4be06913adb73be7157f986602ea6991414 input: synaptics_i2c_rmi4: Turn off the reset gpio before freeing it.) Also cleaned checkpatch warning on msm-3.18 kernel. CRs-Fixed: 553847 Change-Id: Ib439de058326bf0d14d6e18b0a6198b4f682daf8 Signed-off-by:Sarada Prasanna Garnayak <c_sgarna@codeaurora.org> Signed-off-by:
Sudhakar Manapati <smanap@codeaurora.org>
Loading
Please register or sign in to comment