Skip to contentSkip to conversation

Applied "ASoC: qcom: Don't specify LE device endianness" to the asoc tree

PATCH Mark Brown 1 participant 2 messages Feb 12, 2016

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

The patch

ASoC: qcom: Don't specify LE device endianness

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 8faa268ab780a7379cfe54b882c6f6e0083233f2 Mon Sep 17 00:00:00 2001

From: Stephen Boyd <[email protected]>
Date: Fri, 12 Feb 2016 09:30:17 -0800
Subject: [PATCH] ASoC: qcom: Don't specify LE device endianness

This reverts commit 18560a4e3 (ASoC: qcom: Specify LE device endianness).

The commit that caused us to specify LE device endianness here, 29bb45f25ff3 (regmap-mmio: Use native endianness for read/write, 2015-10-29), has been reverted in mainline so now when we specify LE it actively breaks big endian kernels because the byte swapping in regmap-mmio is incorrect. Let's revert this change because it will 1) fix the big endian kernels and 2) be redundant to specify LE because that will become the default soon.

---
 sound/soc/qcom/lpass-cpu.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/qcom/lpass-cpu.c +0 -1
index 00b6c9d039cf..e5101e0d2d37 100644
@@ -355,7 +355,6 @@ static struct regmap_config lpass_cpu_regmap_config = {
 	.readable_reg = lpass_cpu_regmap_readable,
 	.volatile_reg = lpass_cpu_regmap_volatile,
 	.cache_type = REGCACHE_FLAT,
-	.val_format_endian = REGMAP_ENDIAN_LITTLE,
 };
 
 int asoc_qcom_lpass_cpu_platform_probe(struct platform_device *pdev)
Signature · 1 line
2.7.0
author maintainer
#1 lore raw

The patch

ASoC: qcom: Don't specify LE device endianness

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From a947b724069a25eae86d8dfed905374d04c3f93c Mon Sep 17 00:00:00 2001

From: Stephen Boyd <[email protected]>
Date: Fri, 12 Feb 2016 09:30:17 -0800
Subject: [PATCH] ASoC: qcom: Don't specify LE device endianness

This reverts commit 18560a4e3 (ASoC: qcom: Specify LE device endianness).

The commit that caused us to specify LE device endianness here, 29bb45f25ff3 (regmap-mmio: Use native endianness for read/write, 2015-10-29), has been reverted in mainline so now when we specify LE it actively breaks big endian kernels because the byte swapping in regmap-mmio is incorrect. Let's revert this change because it will 1) fix the big endian kernels and 2) be redundant to specify LE because that will become the default soon.

---
 sound/soc/qcom/lpass-cpu.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/qcom/lpass-cpu.c +0 -1
index 00b6c9d039cf..e5101e0d2d37 100644
@@ -355,7 +355,6 @@ static struct regmap_config lpass_cpu_regmap_config = {
 	.readable_reg = lpass_cpu_regmap_readable,
 	.volatile_reg = lpass_cpu_regmap_volatile,
 	.cache_type = REGCACHE_FLAT,
-	.val_format_endian = REGMAP_ENDIAN_LITTLE,
 };
 
 int asoc_qcom_lpass_cpu_platform_probe(struct platform_device *pdev)
Signature · 1 line
2.7.0