diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-02-13 11:36:37 -0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-13 20:21:30 +0000 |
commit | bf3dbe5c8c4b85f98c36d35432efa6573b75e6d3 (patch) | |
tree | aabfddb8276b8ea3ab0653633716d8ad395870fe /net/can | |
parent | f1464ede550b8fda75086cb9bacf8d60fc9f6780 (diff) |
ASoC: Fix DaVinci module unload error
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 change has been tested on DM644x EVM, DM644x SFFSDR and DM355 EVM.
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions