]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:09:43 +0000 (10:09 +0100)
commit1e55c91f723a2e5454f58dca4f9e9e1dd1c70dee
tree70499e416dd0a8ea396f794f854b01403bfee3ab
parent8a483e3b613dab6c83a49930b0cea2e41d965ee1
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