• Dylan Reid's avatar
    ASoC: tegra: Use flat regcache · 591d14f0
    Dylan Reid authored
    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: default avatarDylan Reid <dgreid@chromium.org>
    Tested-by: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    591d14f0
tegra20_spdif.c 9.81 KB