Skip to content

Commit d7a83d6

Browse files
claudiubezneabebarino
authored andcommitted
clk: at91: usb: use proper usbs_mask
Use usbs_mask passed as argument. The usbs_mask is different for SAM9X60. Fixes: 2423eea ("clk: at91: usb: Add sam9x60 support") Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Alexandre Belloni <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 43b203d commit d7a83d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/at91/clk-usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ _at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name,
214214

215215
usb->hw.init = &init;
216216
usb->regmap = regmap;
217-
usb->usbs_mask = SAM9X5_USBS_MASK;
217+
usb->usbs_mask = usbs_mask;
218218

219219
hw = &usb->hw;
220220
ret = clk_hw_register(NULL, &usb->hw);

0 commit comments

Comments
 (0)