Commit d7a83d67 authored by Claudiu Beznea's avatar Claudiu Beznea Committed by Stephen Boyd

clk: at91: usb: use proper usbs_mask

Use usbs_mask passed as argument. The usbs_mask is different for
SAM9X60.

Fixes: 2423eeae ("clk: at91: usb: Add sam9x60 support")
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lkml.kernel.org/r/1579261009-4573-4-git-send-email-claudiu.beznea@microchip.comAcked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 43b203d3
...@@ -214,7 +214,7 @@ _at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name, ...@@ -214,7 +214,7 @@ _at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name,
usb->hw.init = &init; usb->hw.init = &init;
usb->regmap = regmap; usb->regmap = regmap;
usb->usbs_mask = SAM9X5_USBS_MASK; usb->usbs_mask = usbs_mask;
hw = &usb->hw; hw = &usb->hw;
ret = clk_hw_register(NULL, &usb->hw); ret = clk_hw_register(NULL, &usb->hw);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment