]> git.dujemihanovic.xyz Git - linux.git/commitdiff
ASoC: rt5665: remove rt5668 support
authorBard Liao <bardliao@realtek.com>
Mon, 29 Jan 2018 11:15:38 +0000 (19:15 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2018 11:48:26 +0000 (11:48 +0000)
Remove rt5668 support from rt5665 codec driver since rt5668 will
not go into mass production.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rt5665.txt
sound/soc/codecs/rt5665.c
sound/soc/codecs/rt5665.h

index 419c89219681457bf473d618ddd81b51704c8e44..8df1705069863c1261a4b80866b6bf040cdbea32 100644 (file)
@@ -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.
 
index 819df1a32dd4cfb0569650397cefa9c71fe0c635..6ba99f5ed3f42e54e52af662b6fbe647f25b6f0a 100644 (file)
@@ -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);
index b528e416b59270544ebf793e78c4cc301b27a17d..b0a98ca39c5b044b2e8d762603aa9fd3ea9af6fa 100644 (file)
@@ -1978,7 +1978,6 @@ enum {
 enum {
        CODEC_5665,
        CODEC_5666,
-       CODEC_5668,
 };
 
 /* filter mask */