ASoC: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 15:38:22 +0000 (17:38 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jul 2020 13:31:55 +0000 (14:31 +0100)
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
  If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            If both the HTTP and HTTPS versions
            return 200 OK and serve the same content:
              Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200719153822.59788-1-grandmaster@al2klimov.de
Signed-off-by: Mark Brown <broonie@kernel.org>
27 files changed:
Documentation/devicetree/bindings/sound/adi,adau1977.txt
Documentation/devicetree/bindings/sound/tas2552.txt
Documentation/devicetree/bindings/sound/tas5720.txt
Documentation/devicetree/bindings/sound/ti,tas6424.txt
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml
Documentation/sound/soc/dai.rst
sound/soc/cirrus/ep93xx-ac97.c
sound/soc/codecs/hdmi-codec.c
sound/soc/codecs/max9850.c
sound/soc/codecs/mc13783.c
sound/soc/codecs/pcm186x-i2c.c
sound/soc/codecs/pcm186x-spi.c
sound/soc/codecs/pcm186x.c
sound/soc/codecs/pcm186x.h
sound/soc/codecs/tas2552.c
sound/soc/codecs/tas2552.h
sound/soc/codecs/tas2562.h
sound/soc/codecs/tas2770.c
sound/soc/codecs/tas2770.h
sound/soc/codecs/tas5720.c
sound/soc/codecs/tas5720.h
sound/soc/codecs/tas6424.c
sound/soc/codecs/tas6424.h
sound/soc/codecs/tlv320adcx140.c
sound/soc/codecs/tlv320adcx140.h
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic31xx.h

index 9225472c80b4c4f2c0b049c896b7f34d240cbfa4..37f8aad012037db098738115697f613afe940c99 100644 (file)
@@ -1,9 +1,9 @@
 Analog Devices ADAU1977/ADAU1978/ADAU1979
 
 Datasheets:
-http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf
-http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf
-http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf
+https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf
+https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf
+https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf
 
 This driver supports both the I2C and SPI bus.
 
index 2d71eb05c1d384c72e166d02a46fc2d695cea382..a7eecad83db11b71cde6b39cf8489cc1eab35e2c 100644 (file)
@@ -33,4 +33,4 @@ tas2552: tas2552@41 {
 };
 
 For more product information please see the link below:
-http://www.ti.com/product/TAS2552
+https://www.ti.com/product/TAS2552
index 7481653fe8e3eba498667dcebe9afb8d97dc3391..df99ca9451b07c76930333405c703de8cb86eec1 100644 (file)
@@ -4,9 +4,9 @@ The TAS5720 serial control bus communicates through the I2C protocol only. The
 serial bus is also used for periodic codec fault checking/reporting during
 audio playback. For more product information please see the links below:
 
-http://www.ti.com/product/TAS5720L
-http://www.ti.com/product/TAS5720M
-http://www.ti.com/product/TAS5722L
+https://www.ti.com/product/TAS5720L
+https://www.ti.com/product/TAS5720M
+https://www.ti.com/product/TAS5722L
 
 Required properties:
 
index eacb54f34188fa6cf10f3ad101b1c70bf590a488..00940c48929968265c467149ac79f38c44ee6908 100644 (file)
@@ -19,4 +19,4 @@ tas6424: tas6424@6a {
 };
 
 For more product information please see the link below:
-http://www.ti.com/product/TAS6424-Q1
+https://www.ti.com/product/TAS6424-Q1
index 2e6ac5d2ee96b55ef5a7616f0e4c278d5ae52d74..8e008b7cf926aa03c4a0041ccaf1c9e64f5e4df3 100644 (file)
@@ -18,9 +18,9 @@ description: |
   microphone bias or supply voltage generation.
 
   Specifications can be found at:
-    http://www.ti.com/lit/ds/symlink/tlv320adc3140.pdf
-    http://www.ti.com/lit/ds/symlink/tlv320adc5140.pdf
-    http://www.ti.com/lit/ds/symlink/tlv320adc6140.pdf
+    https://www.ti.com/lit/ds/symlink/tlv320adc3140.pdf
+    https://www.ti.com/lit/ds/symlink/tlv320adc5140.pdf
+    https://www.ti.com/lit/ds/symlink/tlv320adc6140.pdf
 
 properties:
   compatible:
index 2e99183a7a47a8d2362f5c36e95c2f91a8b62e17..009b07e5a0f38284ff1c57fe62febf6cd99f0ffe 100644 (file)
@@ -17,7 +17,7 @@ frame (FRAME) (usually 48kHz) is always driven by the controller. Each AC97
 frame is 21uS long and is divided into 13 time slots.
 
 The AC97 specification can be found at :
-http://www.intel.com/p/en_US/business/design
+https://www.intel.com/p/en_US/business/design
 
 
 I2S
index 1c45fb9ff9908607139300a6707ec99e373bce0a..16f9bb283b5cb2800c0ef5e7dd5c8342251df8f6 100644 (file)
@@ -285,7 +285,7 @@ static int ep93xx_ac97_trigger(struct snd_pcm_substream *substream,
                        /*
                         * As per Cirrus EP93xx errata described below:
                         *
-                        * http://www.cirrus.com/en/pubs/errata/ER667E2B.pdf
+                        * https://www.cirrus.com/en/pubs/errata/ER667E2B.pdf
                         *
                         * we will wait for the TX FIFO to be empty before
                         * clearing the TEN bit.
index bc760a81e217e3a099bcf176e29b1171cb2c7ad6..8c6f540533ba408bc13c02b58ab58227376628bc 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
  * ALSA SoC codec for HDMI encoder drivers
- * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <jsarha@ti.com>
  */
 #include <linux/module.h>
index 1ddfad3241983a7428d28b5179ab23428b080e06..dec51893af74f421077139ada554540126f35db4 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Christian Glindkamp <christian.glindkamp@taskit.de>
  *
  * Initial development of this code was funded by
- * MICRONIC Computer Systeme GmbH, http://www.mcsberlin.de/
+ * MICRONIC Computer Systeme GmbH, https://www.mcsberlin.de/
  */
 
 #include <linux/module.h>
index f9830bd3da18c1338ed88d6b479ec17a5e340dc4..9e6a0cda43d0b023bb27bf346c19ede4b0ed612a 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2012 Philippe Retornaz, philippe.retornaz@epfl.ch
  *
  * Initial development of this code was funded by
- * Phytec Messtechnik GmbH, http://www.phytec.de
+ * Phytec Messtechnik GmbH, https://www.phytec.de
  */
 #include <linux/module.h>
 #include <linux/device.h>
index 0214dc6d84d049d04a0ae1bfdbf0361ced357f24..f8382b74391d3630dcf3936f6066feea5d788c5d 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Texas Instruments PCM186x Universal Audio ADC - I2C
  *
- * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com
  *     Andreas Dannenberg <dannenberg@ti.com>
  *     Andrew F. Davis <afd@ti.com>
  */
index b56e198274979a8fa3403992e05d0089c0f243c4..bc1b0f0698ed39a7dbae4022f974af1c90e94010 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Texas Instruments PCM186x Universal Audio ADC - SPI
  *
- * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com
  *     Andreas Dannenberg <dannenberg@ti.com>
  *     Andrew F. Davis <afd@ti.com>
  */
index c5fcc632f67044a4bcc17f45a2420186a01a052d..f0da55901dcbe3e0c35a30f4452d758e9b795824 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Texas Instruments PCM186x Universal Audio ADC
  *
- * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com
  *     Andreas Dannenberg <dannenberg@ti.com>
  *     Andrew F. Davis <afd@ti.com>
  */
index bb3f0c42a1cdddb31a603948c39bafa56a42a654..4d493754a3e292252a998dfba3608ea1a4a2d672 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Texas Instruments PCM186x Universal Audio ADC
  *
- * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com
  *     Andreas Dannenberg <dannenberg@ti.com>
  *     Andrew F. Davis <afd@ti.com>
  */
index e23905e3f2407ffcd03f7e71f5c7f483c6436cf3..bd00c35116cd5863cae2c2e82c7b534bc9acb67c 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * tas2552.c - ALSA SoC Texas Instruments TAS2552 Mono Audio Amplifier
  *
- * Copyright (C) 2014 Texas Instruments Incorporated -  http://www.ti.com
+ * Copyright (C) 2014 Texas Instruments Incorporated -  https://www.ti.com
  *
  * Author: Dan Murphy <dmurphy@ti.com>
  */
index d0958315d6a22f3f7493baa20076fb998702ea11..b9c2e70df57e24f249499eaa9d7941da4f4d6b2a 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * tas2552.h - ALSA SoC Texas Instruments TAS2552 Mono Audio Amplifier
  *
- * Copyright (C) 2014 Texas Instruments Incorporated -  http://www.ti.com
+ * Copyright (C) 2014 Texas Instruments Incorporated -  https://www.ti.com
  *
  * Author: Dan Murphy <dmurphy@ti.com>
  */
index 18209f397921afed455bdc400f96b1f9b3f89971..81866aeb3fbfadc321dc1500778990485b4e3d4c 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * tas2562.h - ALSA SoC Texas Instruments TAS2562 Mono Audio Amplifier
  *
- * Copyright (C) 2019 Texas Instruments Incorporated -  http://www.ti.com
+ * Copyright (C) 2019 Texas Instruments Incorporated -  https://www.ti.com
  *
  * Author: Dan Murphy <dmurphy@ti.com>
  */
index 1eb9b77439eb2f514a8dd26613252e3c574ee128..c098518343959cbbb36c427d4396a5d4fd8c9146 100644 (file)
@@ -3,7 +3,7 @@
 // ALSA SoC Texas Instruments TAS2770 20-W Digital Input Mono Class-D
 // Audio Amplifier with Speaker I/V Sense
 //
-// Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/
+// Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
 //     Author: Tracy Yi <tracy-yi@ti.com>
 //     Frank Shi <shifu0704@thundersoft.com>
 
index cbb858369fe6f252832d2ba8410c120f3bdc4bf3..96683971ee9bfd42814ae14d2ce54e9153362be2 100644 (file)
@@ -2,7 +2,7 @@
  *
  * ALSA SoC TAS2770 codec driver
  *
- *  Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/
+ *  Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
  */
 #ifndef __TAS2770__
 #define __TAS2770__
index 139ac5e683bff0f93621f90ce2bf547535bfaa44..9ff644ddb470a61fa15fb7450a0a89224444b03c 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier
  *
- * Copyright (C)2015-2016 Texas Instruments Incorporated -  http://www.ti.com
+ * Copyright (C)2015-2016 Texas Instruments Incorporated -  https://www.ti.com
  *
  * Author: Andreas Dannenberg <dannenberg@ti.com>
  */
index 93079f954f09b69bb745ebd0845131adaeea4bf9..223858f0de71363b6f52509e32ac8cc55ec05d1c 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * tas5720.h - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier
  *
- * Copyright (C)2015-2016 Texas Instruments Incorporated -  http://www.ti.com
+ * Copyright (C)2015-2016 Texas Instruments Incorporated -  https://www.ti.com
  *
  * Author: Andreas Dannenberg <dannenberg@ti.com>
  */
index 6198138e693ac9b955589896127eca8ef5f66dcf..59543d392110a0201cbf3379f5bac123d1e046ad 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier
  *
- * Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
  *     Author: Andreas Dannenberg <dannenberg@ti.com>
  *     Andrew F. Davis <afd@ti.com>
  */
index c67a7835ca666ebf6b65609b0c8d7391aecc4850..a6a0d00e519079e7f28a2d0b81159efd270e31d0 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier
  *
- * Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
  *     Author: Andreas Dannenberg <dannenberg@ti.com>
  *     Andrew F. Davis <afd@ti.com>
  */
index d900af967f8c125b3646ec0468d5e36e030e58ff..49dcdd72e5c6d26627a705ec377acfc38025f48d 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 // TLV320ADCX140 Sound driver
-// Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
+// Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
index 39206bf1af12edd470ffebb33452eb4551fa4ea6..ab3fec866ae9b8b882145fbfef3b37e1da9b2f42 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 // TLV320ADCX104 Sound driver
-// Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
+// Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
 
 #ifndef _TLV320ADCX140_H
 #define _TLV320ADCX140_H
index a14dd2dc5ec67cbce6ea2ace2936fe38128e312c..5ac7ce26443117268ed5b647cde097d20e2164f0 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * ALSA SoC TLV320AIC31xx CODEC Driver
  *
- * Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/
  *     Jyri Sarha <jsarha@ti.com>
  *
  * Based on ground work by: Ajit Kulkarni <x0175765@ti.com>
@@ -877,7 +877,7 @@ static int aic31xx_setup_pll(struct snd_soc_component *component,
                   there may be trouble. To fix the issue edit the
                   aic31xx_divs table for your mclk and sample
                   rate. Details can be found from:
-                  http://www.ti.com/lit/ds/symlink/tlv320aic3100.pdf
+                  https://www.ti.com/lit/ds/symlink/tlv320aic3100.pdf
                   Section: 5.6 CLOCK Generation and PLL
                */
        }
index 0523884cee74786e70a520977b0376b72ebba262..81952984613d2f3f984b184c5019507f1437f21a 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * ALSA SoC TLV320AIC31xx CODEC Driver Definitions
  *
- * Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/
  */
 
 #ifndef _TLV320AIC31XX_H