mfd: qcom_rpm: write fw_version to CTRL_REG
authorJonathan Marek <jonathan@marek.ca>
Mon, 19 Nov 2018 19:53:17 +0000 (14:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:03 +0000 (10:08 +0100)
commit74c14405e96dcdbebf07aa57f5737a24cb666271
tree4e108d4e4daad9f707eb94f73880d355cbaff241
parent8949511dfaa0f4314402f632091e6add32d76d31
mfd: qcom_rpm: write fw_version to CTRL_REG

[ Upstream commit 504e4175829c44328773b96ad9c538e4783a8d22 ]

This is required as part of the initialization sequence on certain SoCs.

If these registers are not initialized, the hardware can be unresponsive.
This fixes the driver on apq8060 (HP TouchPad device).

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/qcom_rpm.c