summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-29 06:49:32 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-29 06:49:31 -0700
commit67d69b8ce5b7153b497e422e856915a5fe8864cf (patch)
tree7fea1ea965cff0dd24c9116661e3023374b64549 /drivers
parent04561686f452084573ed324ba12c0692b64166bb (diff)
parentc59edf21d4bbef61fb3b020a439b116c9007e4b6 (diff)
Merge "soc: qcom: pil: Explicitly clear the subsystem loading address"
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/qcom/peripheral-loader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/qcom/peripheral-loader.c b/drivers/soc/qcom/peripheral-loader.c
index c252fa9d1a96..6e5ddc4a3a7d 100644
--- a/drivers/soc/qcom/peripheral-loader.c
+++ b/drivers/soc/qcom/peripheral-loader.c
@@ -465,6 +465,8 @@ static int pil_alloc_region(struct pil_priv *priv, phys_addr_t min_addr,
if (region == NULL) {
pil_err(priv->desc, "Failed to allocate relocatable region of size %zx\n",
size);
+ priv->region_start = 0;
+ priv->region_end = 0;
return -ENOMEM;
}