login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
29
Re: [PATCH 1/2] ASoC: Add missing dev_set_drvdata in mpc8610_hpcd_probe
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Liam Girdwood
Subject:
Re: [PATCH 1/2] ASoC: Add missing dev_set_drvdata in mpc8610_hpcd_probe
Date: Monday, November 29, 2010 - 4:08 am
On Mon, 2010-11-29 at 14:54 +0800, Axel Lin wrote:
quoted text
> Otherwise, calling dev_get_drvdata in mpc8610_hpcd_remove returns NULL. > > Signed-off-by: Axel Lin <axel.lin@gmail.com> > --- > sound/soc/fsl/mpc8610_hpcd.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c > index 0d7dcf1..7d7847a 100644 > --- 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); >
All Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/2] ASoC: Add missing dev_set_drvdata in mpc8610_h ...
, Axel Lin
, (Sun Nov 28, 11:54 pm)
[PATCH 2/2] ASoC: Add missing dev_set_drvdata in p1022_ds_ ...
, Axel Lin
, (Sun Nov 28, 11:55 pm)
Re: [PATCH 1/2] ASoC: Add missing dev_set_drvdata in mpc86 ...
, Liam Girdwood
, (Mon Nov 29, 4:08 am)
Re: [PATCH 1/2] ASoC: Add missing dev_set_drvdata in mpc86 ...
, Timur Tabi
, (Mon Nov 29, 7:53 am)
Re: [PATCH 1/2] ASoC: Add missing dev_set_drvdata in mpc86 ...
, Mark Brown
, (Mon Nov 29, 9:12 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation