From: Manuel Lauss Date: Tue, 31 Jul 2012 12:42:27 +0000 (+0200) Subject: ASoC: AC97 doesn't use regmap by default X-Git-Tag: v3.6-rc2~34^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0e3cce9144eb8bff0852531aadbe221addaa2d5;p=pandora-kernel.git ASoC: AC97 doesn't use regmap by default Since commit 38cbf9598feba97de9f9b43efa9153fd7c1a2ec9 ("ASoC: core: Try to use regmap if the driver doesn't set up any I/O") any ASoC codec which doesn't set codec::control_data is assumed to use regmap. That doesn't work with AC97 so this workaround sets the codec::control_data member to a random value to restore proper behaviour. Tested with WM9712. Signed-off-by: Manuel Lauss Signed-off-by: Mark Brown --- Reading git-diff-tree failed