Skip to contentSkip to conversation

ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build

PATCH In review Axel Lin 3 participants 7 messages Feb 20, 2016

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/3 ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build

---
 sound/soc/codecs/Makefile | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Makefile +1 -0
index 621c0a3..185a712 100644
@@ -283,6 +283,7 @@ obj-$(CONFIG_SND_SOC_MAX98088)	+= snd-soc-max98088.o
 obj-$(CONFIG_SND_SOC_MAX98090)	+= snd-soc-max98090.o
 obj-$(CONFIG_SND_SOC_MAX98095)	+= snd-soc-max98095.o
 obj-$(CONFIG_SND_SOC_MAX98357A)	+= snd-soc-max98357a.o
+obj-$(CONFIG_SND_SOC_MAX9867)	+= snd-soc-max9867.o
 obj-$(CONFIG_SND_SOC_MAX98925)	+= snd-soc-max98925.o
 obj-$(CONFIG_SND_SOC_MAX98926)	+= snd-soc-max98926.o
 obj-$(CONFIG_SND_SOC_MAX9850)	+= snd-soc-max9850.o
Signature · 1 line
2.1.4
author
#1 lore raw

PATCH 2/3 ASoC: max9867: Make max9867_i2c_id NULL terminated

---
 sound/soc/codecs/max9867.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/max9867.c +1 -0
index 5a8481b..70b5406 100755
@@ -512,6 +512,7 @@ static int max9867_i2c_remove(struct i2c_client *client)
 
 static const struct i2c_device_id max9867_i2c_id[] = {
 	{ "max9867", 0 },
+	{ }
 };
 
 static const struct of_device_id max9867_of_match[] = {
Signature · 1 line
2.1.4
maintainer
#2 lore raw

Applied "ASoC: max9867: Make max9867_i2c_id NULL terminated" to the asoc tree

The patch

ASoC: max9867: Make max9867_i2c_id NULL terminated

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 1b36e4a2ab0cfcc322153337d2615bc6fa922567 Mon Sep 17 00:00:00 2001

From: Axel Lin <[email protected]>
Date: Sat, 20 Feb 2016 10:53:15 +0800
Subject: [PATCH] ASoC: max9867: Make max9867_i2c_id NULL terminated

---
 sound/soc/codecs/max9867.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/max9867.c +1 -0
index 5a8481b..70b5406 100755
@@ -512,6 +512,7 @@ static int max9867_i2c_remove(struct i2c_client *client)
 
 static const struct i2c_device_id max9867_i2c_id[] = {
 	{ "max9867", 0 },
+	{ }
 };
 
 static const struct of_device_id max9867_of_match[] = {
Signature · 1 line
2.7.0
author
#3 lore raw

PATCH 3/3 ASoC: max9867: Constify max9867_reg and max9867_regmap

In reply to Axel Lin
---
 sound/soc/codecs/max9867.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/max9867.c +2 -2
index 70b5406..ab7a94d 100755
@@ -436,7 +436,7 @@ static bool max9867_volatile_register(struct device *dev, unsigned int reg)
 	}
 }
 
-static struct reg_default max9867_reg[] = {
+static const struct reg_default max9867_reg[] = {
 	{ 0x04, 0x00 },
 	{ 0x05, 0x00 },
 	{ 0x06, 0x00 },
@@ -459,7 +459,7 @@ static struct reg_default max9867_reg[] = {
 	{ 0x17, 0x00 },
 };
 
-static struct regmap_config max9867_regmap = {
+static const struct regmap_config max9867_regmap = {
 	.reg_bits	= 8,
 	.val_bits	= 8,
 	.max_register	= MAX9867_REVISION,
Signature · 1 line
2.1.4
maintainer
#4 lore raw

Applied "ASoC: max9867: Constify max9867_reg and max9867_regmap" to the asoc tree

The patch

ASoC: max9867: Constify max9867_reg and max9867_regmap

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 250a99e70bf8628397901e10ad99a281dfc489d5 Mon Sep 17 00:00:00 2001

From: Axel Lin <[email protected]>
Date: Sat, 20 Feb 2016 10:54:11 +0800
Subject: [PATCH] ASoC: max9867: Constify max9867_reg and max9867_regmap

---
 sound/soc/codecs/max9867.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/max9867.c +2 -2
index 70b5406..ab7a94d 100755
@@ -436,7 +436,7 @@ static bool max9867_volatile_register(struct device *dev, unsigned int reg)
 	}
 }
 
-static struct reg_default max9867_reg[] = {
+static const struct reg_default max9867_reg[] = {
 	{ 0x04, 0x00 },
 	{ 0x05, 0x00 },
 	{ 0x06, 0x00 },
@@ -459,7 +459,7 @@ static struct reg_default max9867_reg[] = {
 	{ 0x17, 0x00 },
 };
 
-static struct regmap_config max9867_regmap = {
+static const struct regmap_config max9867_regmap = {
 	.reg_bits	= 8,
 	.val_bits	= 8,
 	.max_register	= MAX9867_REVISION,
Signature · 1 line
2.7.0
Acked-by on v1 1/3
#5 lore raw
In reply to Axel Lin
Quoted 22 lines · Axel Lin
---
 sound/soc/codecs/Makefile | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Makefile +1 -1
index 621c0a3..185a712 100644
@@ -283,6 +283,7 @@ obj-$(CONFIG_SND_SOC_MAX98088)      += snd-soc-max98088.o
 obj-$(CONFIG_SND_SOC_MAX98090) += snd-soc-max98090.o
 obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o
 obj-$(CONFIG_SND_SOC_MAX98357A)        += snd-soc-max98357a.o
+obj-$(CONFIG_SND_SOC_MAX9867)  += snd-soc-max9867.o
 obj-$(CONFIG_SND_SOC_MAX98925) += snd-soc-max98925.o
 obj-$(CONFIG_SND_SOC_MAX98926) += snd-soc-max98926.o
 obj-$(CONFIG_SND_SOC_MAX9850)  += snd-soc-max9850.o
--

2.1.4

maintainer
#6 lore raw

Applied "ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build" to the asoc tree

In reply to Axel Lin

The patch

ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build

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 ee06b6f0675907191656b11a8405a03c6d599ea9 Mon Sep 17 00:00:00 2001

From: Axel Lin <[email protected]>
Date: Sat, 20 Feb 2016 10:52:32 +0800
Subject: [PATCH] ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build

---
 sound/soc/codecs/Makefile | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Makefile +1 -0
index b84fe9d..f35237d 100644
@@ -280,6 +280,7 @@ obj-$(CONFIG_SND_SOC_MAX98088)	+= snd-soc-max98088.o
 obj-$(CONFIG_SND_SOC_MAX98090)	+= snd-soc-max98090.o
 obj-$(CONFIG_SND_SOC_MAX98095)	+= snd-soc-max98095.o
 obj-$(CONFIG_SND_SOC_MAX98357A)	+= snd-soc-max98357a.o
+obj-$(CONFIG_SND_SOC_MAX9867)	+= snd-soc-max9867.o
 obj-$(CONFIG_SND_SOC_MAX98925)	+= snd-soc-max98925.o
 obj-$(CONFIG_SND_SOC_MAX98926)	+= snd-soc-max98926.o
 obj-$(CONFIG_SND_SOC_MAX9850)	+= snd-soc-max9850.o
Signature · 1 line
2.7.0