aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-05-16 21:43:50 +1200
committerDavid Phillips <david@yeah.nah.nz>2021-05-16 21:43:50 +1200
commit74396c4200925a214560902f1dff68669b639f6b (patch)
tree1ed024a7fe2230f4181fc564666eff8a1bedf315
parent1a0eda1f6876a1a7482115630b2dd9014efd2ec1 (diff)
downloadcds9k-74396c4200925a214560902f1dff68669b639f6b.tar.xz
reset: apply base address
-rw-r--r--cds9k-reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cds9k-reset.c b/cds9k-reset.c
index d90ed7e..8a26e10 100644
--- a/cds9k-reset.c
+++ b/cds9k-reset.c
@@ -18,8 +18,8 @@ static int cds9k_reset_reset(struct reset_controller_dev *rcdev, unsigned long i
/* reset sequence: put 0xDEAD into reg 0 for 250 ms */
struct reg_sequence reset_sequence[] = {
- { RESET_REG_0, 0xDEAD, 250000 },
- { RESET_REG_0, 0x0000 },
+ { priv->base + RESET_REG_0, 0xDEAD, 250000 },
+ { priv->base + RESET_REG_0, 0x0000 },
};
if (id != 0)