diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2020-01-17 12:36:48 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-02-13 00:31:47 +0100 |
commit | d7a83d67a1694c42cc95fc0755d823f7ca3bfcfb (patch) | |
tree | b1bf76856b8457066fb0ccec487ccafea1c4ce13 /drivers/clk/at91 | |
parent | clk: at91: sam9x60: fix usb clock parents (diff) | |
download | linux-d7a83d67a1694c42cc95fc0755d823f7ca3bfcfb.tar.xz linux-d7a83d67a1694c42cc95fc0755d823f7ca3bfcfb.zip |
clk: at91: usb: use proper usbs_mask
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>
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r-- | drivers/clk/at91/clk-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/clk-usb.c b/drivers/clk/at91/clk-usb.c index 3c0bd7e51b09..c0895c993cce 100644 --- 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); |