Skip to contentSkip to conversation

ASoC: rt5665: remove rt5668 support

PATCH In review Bard Liao 2 participants 2 messages Jan 29, 2018 – Feb 12, 2018

Subsystems (4)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 ASoC: rt5665: remove rt5668 support

Remove rt5668 support from rt5665 codec driver since rt5668 will not go into mass production.

---
 Documentation/devicetree/bindings/sound/rt5665.txt | 4 ++--
 sound/soc/codecs/rt5665.c                          | 5 -----
 sound/soc/codecs/rt5665.h                          | 1 -
 3 files changed, 2 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/sound/rt5665.txt +2 -2
index 419c892..8df1705 100644
@@ -1,10 +1,10 @@
-RT5665/RT5666/RT5668 audio CODEC
+RT5665/RT5666 audio CODEC
 
 This device supports I2C only.
 
 Required properties:
 
-- compatible : One of "realtek,rt5665", "realtek,rt5666" or "realtek,rt5668".
+- compatible : One of "realtek,rt5665", "realtek,rt5666".
 
 - reg : The I2C address of the device.
 
sound/soc/codecs/rt5665.c +0 -5
index f05d362..e1b558b 100644
@@ -4828,9 +4828,6 @@ static int rt5665_i2c_probe(struct i2c_client *i2c,
 	case 0x0:
 		rt5665->id = CODEC_5666;
 		break;
-	case 0x6:
-		rt5665->id = CODEC_5668;
-		break;
 	case 0x3:
 	default:
 		rt5665->id = CODEC_5665;
@@ -4963,7 +4960,6 @@ static void rt5665_i2c_shutdown(struct i2c_client *client)
 static const struct of_device_id rt5665_of_match[] = {
 	{.compatible = "realtek,rt5665"},
 	{.compatible = "realtek,rt5666"},
-	{.compatible = "realtek,rt5668"},
 	{},
 };
 MODULE_DEVICE_TABLE(of, rt5665_of_match);
@@ -4973,7 +4969,6 @@ MODULE_DEVICE_TABLE(of, rt5665_of_match);
 static const struct acpi_device_id rt5665_acpi_match[] = {
 	{"10EC5665", 0,},
 	{"10EC5666", 0,},
-	{"10EC5668", 0,},
 	{},
 };
 MODULE_DEVICE_TABLE(acpi, rt5665_acpi_match);
sound/soc/codecs/rt5665.h +0 -1
index 5ddebd6..5abff0f 100644
@@ -1978,7 +1978,6 @@ enum {
 enum {
 	CODEC_5665,
 	CODEC_5666,
-	CODEC_5668,
 };
 
 /* filter mask */
Signature · 1 line
2.7.4
maintainer
#1 lore raw

Applied "ASoC: rt5665: remove rt5668 support" to the asoc tree

The patch

ASoC: rt5665: remove rt5668 support

has been applied to the asoc tree at

https://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 20ebbd2f89a9b2c61c4d432aa1156fc09e37f37c Mon Sep 17 00:00:00 2001

From: Bard Liao <[email protected]>
Date: Mon, 29 Jan 2018 19:15:38 +0800
Subject: [PATCH] ASoC: rt5665: remove rt5668 support

Remove rt5668 support from rt5665 codec driver since rt5668 will not go into mass production.

---
 Documentation/devicetree/bindings/sound/rt5665.txt | 4 ++--
 sound/soc/codecs/rt5665.c                          | 5 -----
 sound/soc/codecs/rt5665.h                          | 1 -
 3 files changed, 2 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/sound/rt5665.txt +2 -2
index 419c89219681..8df170506986 100644
@@ -1,10 +1,10 @@
-RT5665/RT5666/RT5668 audio CODEC
+RT5665/RT5666 audio CODEC
 
 This device supports I2C only.
 
 Required properties:
 
-- compatible : One of "realtek,rt5665", "realtek,rt5666" or "realtek,rt5668".
+- compatible : One of "realtek,rt5665", "realtek,rt5666".
 
 - reg : The I2C address of the device.
 
sound/soc/codecs/rt5665.c +0 -5
index 819df1a32dd4..6ba99f5ed3f4 100644
@@ -4826,9 +4826,6 @@ static int rt5665_i2c_probe(struct i2c_client *i2c,
 	case 0x0:
 		rt5665->id = CODEC_5666;
 		break;
-	case 0x6:
-		rt5665->id = CODEC_5668;
-		break;
 	case 0x3:
 	default:
 		rt5665->id = CODEC_5665;
@@ -4955,7 +4952,6 @@ static void rt5665_i2c_shutdown(struct i2c_client *client)
 static const struct of_device_id rt5665_of_match[] = {
 	{.compatible = "realtek,rt5665"},
 	{.compatible = "realtek,rt5666"},
-	{.compatible = "realtek,rt5668"},
 	{},
 };
 MODULE_DEVICE_TABLE(of, rt5665_of_match);
@@ -4965,7 +4961,6 @@ MODULE_DEVICE_TABLE(of, rt5665_of_match);
 static const struct acpi_device_id rt5665_acpi_match[] = {
 	{"10EC5665", 0,},
 	{"10EC5666", 0,},
-	{"10EC5668", 0,},
 	{},
 };
 MODULE_DEVICE_TABLE(acpi, rt5665_acpi_match);
sound/soc/codecs/rt5665.h +0 -1
index b528e416b592..b0a98ca39c5b 100644
@@ -1978,7 +1978,6 @@ enum {
 enum {
 	CODEC_5665,
 	CODEC_5666,
-	CODEC_5668,
 };
 
 /* filter mask */
Signature · 1 line
2.16.1