]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: core: Split the union for CODEC/platform in the DAI
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 2 Mar 2012 16:18:30 +0000 (16:18 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 4 Mar 2012 13:44:01 +0000 (13:44 +0000)
commit2466ab9709bf7375ef8b8ad16f39008ce6e6bc8a
tree48043fbd677ef7ab9145885af373d292e375ef18
parent4bdd47997f110ee06ed8a1c6668d12106936ba12
ASoC: core: Split the union for CODEC/platform in the DAI

There's now core code which falls back to global CODEC operations for
DAI calls that needs to be able to tell if it's dealing with a CPU or
CODEC DAI and given the small number of DAIs in a typical system and
overall memory usage pattern saving a pointer per DAI is really not
worth the effort.

Reported-by: Ian Lartey <ian@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
include/sound/soc-dai.h