]> Git Repo - linux.git/commit
hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation
authorChristian Marangi <[email protected]>
Sun, 16 Jul 2023 02:28:04 +0000 (04:28 +0200)
committerBjorn Andersson <[email protected]>
Mon, 17 Jul 2023 18:49:18 +0000 (11:49 -0700)
commit23316be8a9d450f33a21f1efe7d89570becbec58
tree4bd204c0d3116b5cac3555c216c32f9b6b78a4dd
parent9519793bb6a731a3dd2453ad8515e8866e84c48e
hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation

Commit 5d4753f741d8 ("hwspinlock: qcom: add support for MMIO on older
SoCs") introduced and made regmap_config mandatory in the of_data struct
but didn't add the regmap_config for sfpb based devices.

SFPB based devices can both use the legacy syscon way to probe or the
new MMIO way and currently device that use the MMIO way are broken as
they lack the definition of the now required regmap_config and always
return -EINVAL (and indirectly makes fail probing everything that
depends on it, smem, nandc with smem-parser...)

Fix this by correctly adding the missing regmap_config and restore
function of hwspinlock on SFPB based devices with MMIO implementation.

Cc: [email protected]
Fixes: 5d4753f741d8 ("hwspinlock: qcom: add support for MMIO on older SoCs")
Signed-off-by: Christian Marangi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
drivers/hwspinlock/qcom_hwspinlock.c
This page took 0.046471 seconds and 4 git commands to generate.