Commit 6d631027 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Stephen Boyd

clk: at91: generated: SSCs don't have a gclk

As the SSCs don't have gclk, don't check for their ID to allow them to set
the audio pll rate.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 7fa75007
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#define GENERATED_SOURCE_MAX 6 #define GENERATED_SOURCE_MAX 6
#define GENERATED_MAX_DIV 255 #define GENERATED_MAX_DIV 255
#define GCK_ID_SSC0 43
#define GCK_ID_SSC1 44
#define GCK_ID_I2S0 54 #define GCK_ID_I2S0 54
#define GCK_ID_I2S1 55 #define GCK_ID_I2S1 55
#define GCK_ID_CLASSD 59 #define GCK_ID_CLASSD 59
...@@ -368,8 +366,7 @@ static void __init of_sama5d2_clk_generated_setup(struct device_node *np) ...@@ -368,8 +366,7 @@ static void __init of_sama5d2_clk_generated_setup(struct device_node *np)
if (of_device_is_compatible(np, if (of_device_is_compatible(np,
"atmel,sama5d2-clk-generated")) { "atmel,sama5d2-clk-generated")) {
if (gck->id == GCK_ID_SSC0 || gck->id == GCK_ID_SSC1 || if (gck->id == GCK_ID_I2S0 || gck->id == GCK_ID_I2S1 ||
gck->id == GCK_ID_I2S0 || gck->id == GCK_ID_I2S1 ||
gck->id == GCK_ID_CLASSD) gck->id == GCK_ID_CLASSD)
gck->audio_pll_allowed = true; gck->audio_pll_allowed = true;
else else
......
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