From: Dylan Reid Date: Tue, 18 Mar 2014 05:08:49 +0000 (-0700) Subject: ASoC: tegra: Use flat regcache X-Git-Tag: v3.15-rc1~142^2^2~7^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=591d14f00796a4250d800d316e3db1fea8a57e20;p=pandora-kernel.git ASoC: tegra: Use flat regcache When using an rbtree cache, there can be allocations the first time a register is accessed. This can cause an attempt to schedule while atomic in the case that the regmap is using a spinlock. This could be fixed by either initializing all the registers or using a flat cache. The register maps for tegra30_ahub and tegra30_i2s are dense and don't save much from using a tree so convert them to flat. Tegra30 changes tested on Norrin, Tegra20 changes compile. Signed-off-by: Dylan Reid Tested-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed