RE: [alsa-devel] [PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-15 Thread Subrahmanya, Chaithrika
> [alsa-devel list dropped] > > chaithr...@ti.com writes: > > > From: Chaithrika U S > > > > Fix for the error when the audio module is unloaded. > > On unregistering the platform_device, platform_device_release will > free the > > platform data.If platform data is static the kernel panics when

Re: [alsa-devel] [PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-13 Thread Kevin Hilman
Mark Brown writes: > On Fri, Feb 13, 2009 at 11:36:37AM -0800, Kevin Hilman wrote: > >> This patch is against DaVinci git[1], which still has some differences >> compared to the upstream trees. > >> Below is a version of this patch against Linus' tree, with the SFFSDR >> board changes from Hugo i

Re: [alsa-devel] [PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-13 Thread Kevin Hilman
[alsa-devel list dropped] chaithr...@ti.com writes: > From: Chaithrika U S > > Fix for the error when the audio module is unloaded. > On unregistering the platform_device, platform_device_release will free the > platform data.If platform data is static the kernel panics when it is freed. > Inst

Re: [alsa-devel] [PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-13 Thread Kevin Hilman
Mark Brown writes: > On Fri, Feb 13, 2009 at 12:39:39PM +0530, chaithr...@ti.com wrote: >> From: Chaithrika U S > >> Fix for the error when the audio module is unloaded. >> On unregistering the platform_device, platform_device_release will free the >> platform data.If platform data is static th

Re: [alsa-devel] [PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-13 Thread Kevin Hilman
Hugo Villeneuve writes: > On Fri, 13 Feb 2009 12:39:39 +0530 > chaithr...@ti.com wrote: > >> From: Chaithrika U S >> >> Fix for the error when the audio module is unloaded. >> On unregistering the platform_device, platform_device_release will >> free the platform data.If platform data is static

Re: [PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-13 Thread Hugo Villeneuve
On Fri, 13 Feb 2009 12:39:39 +0530 chaithr...@ti.com wrote: > From: Chaithrika U S > > Fix for the error when the audio module is unloaded. > On unregistering the platform_device, platform_device_release will > free the platform data.If platform data is static the kernel panics > when it is free

[PATCH]: ARM DaVinci ASoC: Fix module unload error

2009-02-13 Thread chaithrika
From: Chaithrika U S Fix for the error when the audio module is unloaded. On unregistering the platform_device, platform_device_release will free the platform data.If platform data is static the kernel panics when it is freed. Instead use the platform device helper function to add data. This ch