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:06:58 +0000 (10:06 +0100)
commit7955783d5b7f3621959e0f6bf28c0e3b3a768f3d
tree4fcfc0f95dd47108c098e8d30fe9f97be2f1632c
parenta688b8b61767d03c140aa2b7cc3265dbc7697b9f
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