From: Mark Brown <broonie(a)linaro.org>
Add a helper for obtaining the width of a format directly from params
since this is expected to become a common operation in ASoC.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
---
Just starting on the ASoC changes to use this; I'm not 100% sure on the
lack of prefixing for the name but it's consistent with the other uses
so...
include/sound/pcm_params.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/sound/pcm_params.h b/include/sound/pcm_params.h
index 37ae12e..47b03b4 100644
--- a/include/sound/pcm_params.h
+++ b/include/sound/pcm_params.h
@@ -354,4 +354,10 @@ params_period_bytes(const struct snd_pcm_hw_params *p)
params_channels(p)) / 8;
}
+static inline unsigned int
+params_width(const struct snd_pcm_hw_params *p)
+{
+ return snd_pcm_format_width(params_format(p));
+}
+
#endif /* __SOUND_PCM_PARAMS_H */
--
1.8.5.2
Are there some one know what the correct kernel configure for board
'vexpress-a15' in qemu, and under the type, is it the only cpu type
cortex-a15 cpu for this board?
Also appreciate for developer rootfs providing since the nano and
developer rootfs missed on our page:
https://wiki.linaro.org/Platform/DevPlatform/Rootfs
--
Thanks
Alex
From: Mark Brown <broonie(a)linaro.org>
The patch currently under review to enable ARM cpufreq drivers for ARM64
which is useful due to the large amount of shared IP between ARM and ARM64
SoCs. However the big.LITTLE switcher relies on an architecture interface
to build which is not present on ARM64. Add a dependency until that is
resolved.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
---
drivers/cpufreq/Kconfig.arm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index ce52ed949249..0a141109fd29 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -4,7 +4,7 @@
config ARM_BIG_LITTLE_CPUFREQ
tristate "Generic ARM big LITTLE CPUfreq driver"
- depends on ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK
+ depends on ARM && ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK
help
This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.
--
1.8.5.1