diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-04 03:54:21 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 11:28:08 +0200 |
commit | 8c46cf30f72550da22065941c3e0f862dcbb90a6 (patch) | |
tree | cb42705afed892e1353afbcdca84b6c6b3d427a8 /sound/soc | |
parent | mfd: Fix wm8994_device_init() return value (diff) | |
download | linux-8c46cf30f72550da22065941c3e0f862dcbb90a6.tar.xz linux-8c46cf30f72550da22065941c3e0f862dcbb90a6.zip |
mfd: Fix wrong wm8350-core kfree in error path
This patch includes below fixes:
1. fix wm8350_create_cache error path
make sure wm8350->reg_cache is freed in error path.
2. fix wm8350_device_init error path
no need to kfree(wm8350->reg_cache) in the case of goto out.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions