projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f90e50
)
ASoC: Add missing dev_set_drvdata in mpc8610_hpcd_probe
author
Axel Lin
<
[email protected]
>
Mon, 29 Nov 2010 06:54:58 +0000
(14:54 +0800)
committer
Mark Brown
<
[email protected]
>
Mon, 29 Nov 2010 18:28:53 +0000
(18:28 +0000)
Otherwise, calling dev_get_drvdata in mpc8610_hpcd_remove returns NULL.
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Timur Tabi <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/fsl/mpc8610_hpcd.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/mpc8610_hpcd.c
b/sound/soc/fsl/mpc8610_hpcd.c
index 0d7dcf1e4863592c439a626b7fe449b56669f45d..7d7847a1e66bbba18bf583137808b2e751e29cd9 100644
(file)
--- a/
sound/soc/fsl/mpc8610_hpcd.c
+++ b/
sound/soc/fsl/mpc8610_hpcd.c
@@
-498,6
+498,7
@@
static int mpc8610_hpcd_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "platform device add failed\n");
goto error;
}
+ dev_set_drvdata(&pdev->dev, sound_device);
of_node_put(codec_np);