summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-sp7021.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/clk-sp7021.c')
-rw-r--r--drivers/clk/clk-sp7021.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-sp7021.c b/drivers/clk/clk-sp7021.c
index 8fec14120105..11d22043ddd7 100644
--- a/drivers/clk/clk-sp7021.c
+++ b/drivers/clk/clk-sp7021.c
@@ -41,7 +41,7 @@ enum {
/* HIWORD_MASK FIELD_PREP */
#define HWM_FIELD_PREP(mask, value) \
({ \
- u32 _m = mask; \
+ u64 _m = mask; \
(_m << 16) | FIELD_PREP(_m, value); \
})