git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5a192
)
clk/qcom: apq8016: use BIT macro for clk en_vals
author
Sam Day
<me@samcday.com>
Wed, 12 Feb 2025 07:01:27 +0000
(07:01 +0000)
committer
Caleb Connolly
<caleb.connolly@linaro.org>
Mon, 17 Mar 2025 13:38:17 +0000
(13:38 +0000)
This reads a little bit nicer (IMO), and is consistent with the kernel.
Signed-off-by: Sam Day <me@samcday.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Link:
https://lore.kernel.org/r/20250212-msm-rng-fixes-v2-1-645cf8d3fd3c@samcday.com
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/qcom/clock-apq8016.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/clock-apq8016.c
b/drivers/clk/qcom/clock-apq8016.c
index
b5def55
..
0c24725
100644
(file)
--- a/
drivers/clk/qcom/clock-apq8016.c
+++ b/
drivers/clk/qcom/clock-apq8016.c
@@
-54,8
+54,8
@@
static struct vote_clk gcc_blsp1_ahb_clk = {
};
static const struct gate_clk apq8016_clks[] = {
- GATE_CLK(GCC_USB_HS_AHB_CLK, 0x41008,
0x00000001
),
- GATE_CLK(GCC_USB_HS_SYSTEM_CLK, 0x41004,
0x00000001
),
+ GATE_CLK(GCC_USB_HS_AHB_CLK, 0x41008,
BIT(0)
),
+ GATE_CLK(GCC_USB_HS_SYSTEM_CLK, 0x41004,
BIT(0)
),
};
/* SDHCI */