diff options
-rw-r--r-- | sound/soc/codecs/pcm512x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm512x.c b/sound/soc/codecs/pcm512x.c index 51b279e3f465..067d11743c31 100644 --- a/sound/soc/codecs/pcm512x.c +++ b/sound/soc/codecs/pcm512x.c | |||
@@ -1266,7 +1266,6 @@ int pcm512x_probe(struct device *dev, struct regmap *regmap) | |||
1266 | { | 1266 | { |
1267 | struct pcm512x_priv *pcm512x; | 1267 | struct pcm512x_priv *pcm512x; |
1268 | int i, ret; | 1268 | int i, ret; |
1269 | u32 val; | ||
1270 | 1269 | ||
1271 | pcm512x = devm_kzalloc(dev, sizeof(struct pcm512x_priv), GFP_KERNEL); | 1270 | pcm512x = devm_kzalloc(dev, sizeof(struct pcm512x_priv), GFP_KERNEL); |
1272 | if (!pcm512x) | 1271 | if (!pcm512x) |
@@ -1347,6 +1346,7 @@ int pcm512x_probe(struct device *dev, struct regmap *regmap) | |||
1347 | #ifdef CONFIG_OF | 1346 | #ifdef CONFIG_OF |
1348 | if (dev->of_node) { | 1347 | if (dev->of_node) { |
1349 | const struct device_node *np = dev->of_node; | 1348 | const struct device_node *np = dev->of_node; |
1349 | u32 val; | ||
1350 | 1350 | ||
1351 | if (of_property_read_u32(np, "pll-in", &val) >= 0) { | 1351 | if (of_property_read_u32(np, "pll-in", &val) >= 0) { |
1352 | if (val > 6) { | 1352 | if (val > 6) { |