Chuansheng Liu 865df9cb12 ASoC: core: fix the memory leak in case of device_add() failure
After called device_initialize(), even device_add() returns
error, we still need use the put_device() to release the reference
to call rtd_release(), which will do the free() action.

Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-12-27 16:14:43 +00:00
..
2012-11-08 14:36:18 +01:00
2012-11-04 09:20:58 +01:00
2012-10-11 10:21:48 +09:00
2012-10-06 16:47:53 +02:00
2011-11-02 14:15:41 +01:00