kernel-ark/sound/soc
Lars-Peter Clausen 86767b7d5b ASoC: Avoid recalculating the bitmask for SOC_ENUM controls
For ENUM controls the bitmask is calculated based on the number of items.
Currently this is done each time the control is accessed. And while the
performance impact of this should be negligible we can easily do better. The
roundup_pow_of_two macro performs the same calculation which is currently done
manually, but it is also possible to use this macro with compile time constants
and so it can be used to initialize static data. So we can use it to initialize
the mask field of a ENUM control during its declaration.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-09-18 22:51:23 -04:00
..
atmel
au1x
blackfin Merge branch 'asoc-omap' into for-3.7 2012-09-05 20:05:11 +08:00
cirrus ASoC: Rename ep93xx soc directory to cirrus 2012-08-28 10:24:21 -07:00
codecs ASoC: Avoid recalculating the bitmask for SOC_ENUM controls 2012-09-18 22:51:23 -04:00
davinci ASoC: Davinci: McASP: add support new McASP IP Variant 2012-09-06 08:20:33 +08:00
dwc ASoC: dwc: Staticise non-exported i2s_start() 2012-07-04 19:15:43 +01:00
fsl ASoC: fsl: remove unnecessary call to dma_unmap_single 2012-09-18 22:32:44 -04:00
generic ASoC: add generic simple-card support 2012-04-13 11:29:25 +01:00
jz4740 ASoC: JZ4740: Replaced comma operators with semicolons. 2012-04-06 18:22:05 +01:00
kirkwood ARM: Orion: fix driver probe error handling with respect to clk 2012-07-25 17:06:21 +02:00
mid-x86 ASoC: mid-x86 - add support for compressed streams 2012-08-20 20:50:39 +01:00
mxs Merge branch 'asoc-omap' into for-3.7 2012-09-05 20:05:11 +08:00
nuc900
omap ASoC: am3517evm: Remove unused cpu_dai from hw_params 2012-09-11 11:26:00 +08:00
pxa Merge branch 'for-3.5' into for-3.6 2012-07-23 10:45:07 +01:00
s6000
samsung Merge branch 'asoc-omap' into for-3.7 2012-09-05 20:05:11 +08:00
sh ASoC: fsi: convert to devm_xxx() 2012-09-10 17:27:05 +08:00
spear ASoC: SPEAr spdif_out: Add spdif out support 2012-07-04 12:34:28 +01:00
tegra ASoC: tegra: move platform data header 2012-09-06 06:29:33 +08:00
txx9 dmaengine/dma_slave: introduce inline wrappers 2012-03-21 19:20:22 +05:30
ux500 ASoC: ux500: Strengthen error checking after memory allocation 2012-08-03 23:03:55 +01:00
Kconfig ASoC: Rename ep93xx soc directory to cirrus 2012-08-28 10:24:21 -07:00
Makefile ASoC: Rename ep93xx soc directory to cirrus 2012-08-28 10:24:21 -07:00
soc-cache.c
soc-compress.c ASoC: soc-compress: Remove unused variable 2012-08-21 15:09:44 +01:00
soc-core.c ASoC: Avoid recalculating the bitmask for SOC_ENUM controls 2012-09-18 22:51:23 -04:00
soc-dapm.c ASoC: Avoid recalculating the bitmask for SOC_ENUM controls 2012-09-18 22:51:23 -04:00
soc-dmaengine-pcm.c ASoC: dmaengine_pcm: fix typo in comment 2012-06-25 09:52:44 +01:00
soc-io.c ASoC: io: Don't dereference regmap if we failed to get one 2012-06-23 12:11:32 +01:00
soc-jack.c Merge branch 'asoc-omap' into for-3.7 2012-09-05 20:05:11 +08:00
soc-pcm.c ASoC: dpcm: Allow FE to be opened without valid BE routes. 2012-07-06 19:06:58 +01:00
soc-utils.c