projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ASoC: imx-es8328: Fix of_node_put() call with uninitialized object
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
fsl
/
imx-es8328.c
diff --git
a/sound/soc/fsl/imx-es8328.c
b/sound/soc/fsl/imx-es8328.c
index 653e66d150c8a23adb790e64c8d6a106f2683198..d6c55c88a06927d743b2147cedc362774ca0e568 100644
(file)
--- a/
sound/soc/fsl/imx-es8328.c
+++ b/
sound/soc/fsl/imx-es8328.c
@@
-78,7
+78,7
@@
static const struct snd_soc_dapm_widget imx_es8328_dapm_widgets[] = {
static int imx_es8328_probe(struct platform_device *pdev)
{
struct device_node *np = pdev->dev.of_node;
static int imx_es8328_probe(struct platform_device *pdev)
{
struct device_node *np = pdev->dev.of_node;
- struct device_node *ssi_np
, *codec_np
;
+ struct device_node *ssi_np
= NULL, *codec_np = NULL
;
struct platform_device *ssi_pdev;
struct imx_es8328_data *data;
u32 int_port, ext_port;
struct platform_device *ssi_pdev;
struct imx_es8328_data *data;
u32 int_port, ext_port;