First  |  Prev |  Next  |  Last
Pages: 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
[PATCH v2 06/12] wm8904: fix resource reclaim in wm8904_register error path
This patch includes below fixes: 1. wm8904 need to be kfreed in wm8904_register() error path before return. 2. fix the error path for snd_soc_register_codec() fail and snd_soc_register_dai() fail to properly free resources. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- sound/soc/codecs/wm8904.c | 13 ++... 23 Jul 2010 02:43
of/device: Replace of_device with platform_device in includes and core code
From: Grant Likely <grant.likely(a)secretlab.ca> Date: Thu, 22 Jul 2010 16:30:06 -0600 of_device is currently just an #define alias to platform_device until it gets removed entirely. This patch removes references to it from the include directories and the core drivers/of code. Signed-off-by: Grant Lik... 23 Jul 2010 02:43
[PATCH v2 00/12] sound/alsa/soc/codec: fix memory leak and resource relaim in error path
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 ... 23 Jul 2010 02:43
[PATCH v2 08/12] wm8955: fix resource reclaim in wm8955_register error path
This patch fixes the error path in wm8955_register to properly free resources. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- sound/soc/codecs/wm8955.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/wm8955.c b/sound/soc/codecs/wm8955.c index fedb764..5f025... 23 Jul 2010 02:43
[PATCH v2 04/12] wm8523: fix resource reclaim in wm8523_register error path
This patch includes below fixes: 1. If another WM8523 is registered, need to kfree wm8523 before return -EINVAL. 2. If snd_soc_register_codec failed, goto error path to properly free resources. 3. Instead of using mixed in-line and goto style cleanup, use goto style error handling if snd_soc_register_dai failed.... 23 Jul 2010 02:43
[PATCH v2 09/12] wm8961: fix resource reclaim in wm8961_register error path
This patch fixes the error path in wm8961_register to properly free resources. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- sound/soc/codecs/wm8961.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index 5b9a756..2549d3... 23 Jul 2010 02:43
[PATCH v2 03/12] da7210: fix a memory leak if failed to initialise da7210 audio codec
da7210 should be kfreed if da7210_init() return error. This patch also fixes the error handing in the case of snd_soc_register_dai() fail by adding snd_soc_unregister_codec() in error path. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- sound/soc/codecs/da7210.c | 8 ++++++-- 1 files changed, 6 insertions... 23 Jul 2010 02:43
[PATCH v2 11/12] wm8978: fix a memory leak if a wm8978_register fail
There is a memory leak found if wm8978_register() fail. This patch moves the buffer allocate and release at the same level to prevent the memory leak. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> Reviewed-by: Guennadi Liakhovetski <g.liakhovetski(a)gmx.de> --- sound/soc/codecs/wm8978.c | 10 +++++++--- 1 file... 23 Jul 2010 02:43
[PATCH v2 01/12] ad1836: fix a memory leak if another ad1836 is registered
ad1836 is allocated in ad1836_spi_probe() but is not freed if ad1836_register() return -EINVAL (if another ad1836 is registered). Signed-off-by: Axel Lin <axel.lin(a)gmail.com> Acked-by: Barry Song <21cnbao(a)gmail.com> --- sound/soc/codecs/ad1836.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) dif... 23 Jul 2010 02:43
[PATCH] KVM: MMU: fix hugepage mapping corrupt caused by regression
This is the regression, the bug which is fixed by commit e09e90a5 is active now Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86/kvm/paging_tmpl.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index... 23 Jul 2010 01:39
First  |  Prev |  Next  |  Last
Pages: 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439