From: Lars-Peter Clausen Date: Thu, 1 Aug 2013 12:08:07 +0000 (+0200) Subject: ASoC: dapm: Fix kcontrol path list corruption X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c75bdf3fd935119cf8681ac0df2b4a5edd5167d;p=pandora-kernel.git ASoC: dapm: Fix kcontrol path list corruption When calling krealloc for the kcontrol data the items in the path list that point back to the head of the list will now point to freed memory, which causes the list to become corrupted. To fix this, instead of resizing the whole data struct, only resize the widget list. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed