Skip to content

Commit 96df32a

Browse files
alexandrebelloniclaudiubeznea
authored andcommitted
clk: at91: sam9x60: remove atmel,osc-bypass support
The sam9x60 doesn't have the MOSCXTBY bit to enable the crystal oscillator bypass. Fixes: 01e2113 ("clk: at91: add sam9x60 pmc driver") Reported-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com>
1 parent eb20a8b commit 96df32a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

drivers/clk/at91/sam9x60.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
162162
struct regmap *regmap;
163163
struct clk_hw *hw;
164164
int i;
165-
bool bypass;
166165

167166
i = of_property_match_string(np, "clock-names", "td_slck");
168167
if (i < 0)
@@ -197,10 +196,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
197196
if (IS_ERR(hw))
198197
goto err_free;
199198

200-
bypass = of_property_read_bool(np, "atmel,osc-bypass");
201-
202-
hw = at91_clk_register_main_osc(regmap, "main_osc", mainxtal_name,
203-
bypass);
199+
hw = at91_clk_register_main_osc(regmap, "main_osc", mainxtal_name, 0);
204200
if (IS_ERR(hw))
205201
goto err_free;
206202

0 commit comments

Comments
 (0)