projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b203d
)
clk: at91: usb: use proper usbs_mask
author
Claudiu Beznea
<claudiu.beznea@microchip.com>
Fri, 17 Jan 2020 11:36:48 +0000
(13:36 +0200)
committer
Stephen Boyd
<sboyd@kernel.org>
Wed, 12 Feb 2020 23:31:47 +0000
(15:31 -0800)
Use usbs_mask passed as argument. The usbs_mask is different for
SAM9X60.
Fixes: 2423eeaead6f8 ("clk: at91: usb: Add sam9x60 support")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link:
https://lkml.kernel.org/r/1579261009-4573-4-git-send-email-claudiu.beznea@microchip.com
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/clk-usb.c
patch
|
blob
|
history
diff --git
a/drivers/clk/at91/clk-usb.c
b/drivers/clk/at91/clk-usb.c
index 3c0bd7e51b09d3195e250f61ea56b168bd0a26cf..c0895c993cce2fce690a6d22a628780142218a53 100644
(file)
--- a/
drivers/clk/at91/clk-usb.c
+++ b/
drivers/clk/at91/clk-usb.c
@@
-214,7
+214,7
@@
_at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name,
usb->hw.init = &init;
usb->regmap = regmap;
- usb->usbs_mask =
SAM9X5_USBS_MASK
;
+ usb->usbs_mask =
usbs_mask
;
hw = &usb->hw;
ret = clk_hw_register(NULL, &usb->hw);