Prev: [PATCH v2 08/12] wm8955: fix resource reclaim in wm8955_register error path
Next: of/device: Replace of_device with platform_device in includes and core code
From: Axel Lin on 23 Jul 2010 02:00 This serial of patches fixes memory leak and resource relaim in error path I made a mistake that changed the subject line for some of the update patches. So. here is a re-send and all patches are marked as v2. Regards, Axel changes for v2: wm8940: follow Guennadi's comment to move the buffer allocate and release at the same level to prevent the memory leak. wm9081: follow Guennadi's comment to move the buffer allocate and release at the same level to prevent the memory leak. Axel Lin (12): ad1836: fix a memory leak if another ad1836 is registered ak4642: fix a memory leak if failed to initialise AK4642 da7210: fix a memory leak if failed to initialise da7210 audio codec wm8523: fix resource reclaim in wm8523_register error path wm8711: fix a memory leak if another WM8711 is registered wm8904: fix resource reclaim in wm8904_register error path wm8940: fix a memory leak if wm8940_register return error wm8955: fix resource reclaim in wm8955_register error path wm8961: fix resource reclaim in wm8961_register error path wm8974: fix a memory leak if another WM8974 is registered wm8978: fix a memory leak if a wm8978_register fail wm9081: fix resource reclaim in wm9081_register error path sound/soc/codecs/ad1836.c | 1 + sound/soc/codecs/ak4642.c | 4 +++- sound/soc/codecs/da7210.c | 8 ++++++-- sound/soc/codecs/wm8523.c | 10 ++++++---- sound/soc/codecs/wm8711.c | 3 ++- sound/soc/codecs/wm8904.c | 13 ++++++++----- sound/soc/codecs/wm8940.c | 7 ++++++- sound/soc/codecs/wm8955.c | 10 ++++++---- sound/soc/codecs/wm8961.c | 9 +++++---- sound/soc/codecs/wm8974.c | 3 ++- sound/soc/codecs/wm8978.c | 10 +++++++--- sound/soc/codecs/wm9081.c | 11 ++++++----- 12 files changed, 58 insertions(+), 31 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |