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:51 +0000 (10:08 +0100)
commit467829cc83a5988941f9f6027fd1c5c44186b881
tree824ae5b4f635b3a2b93a2a35ef3a0a09478f11d4
parenteb617dc6787881c72931e5dd2be5efdba2c29d8e
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