From: Lars-Peter Clausen Date: Mon, 10 Nov 2014 21:41:44 +0000 (+0100) Subject: ASoC: mpc5200_dma: Don't overwrite ac97 device private_data X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~20^2~23^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65c72efd1ea370f0311a5d89754996fff9fc0747;p=pandora-kernel.git ASoC: mpc5200_dma: Don't overwrite ac97 device private_data The mpc5200_dma overwrites the private_data field of the CODEC's AC'97 device with the DMA drivers private data, but never actually reads it again. Given that the private_data field is supposed to be owned by the AC'97 driver, overwriting it may cause undefined behavior. This patch removes the code that overwrites the field from the driver. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed