linux_dsm_epyc7002/sound/soc/codecs
Kees Cook a86854d0c5 treewide: devm_kzalloc() -> devm_kcalloc()
The devm_kzalloc() function has a 2-factor argument form, devm_kcalloc().
This patch replaces cases of:

        devm_kzalloc(handle, a * b, gfp)

with:
        devm_kcalloc(handle, a * b, gfp)

as well as handling cases of:

        devm_kzalloc(handle, a * b * c, gfp)

with:

        devm_kzalloc(handle, array3_size(a, b, c), gfp)

as it's slightly less ugly than:

        devm_kcalloc(handle, array_size(a, b), c, gfp)

This does, however, attempt to ignore constant size factors like:

        devm_kzalloc(handle, 4 * 1024, gfp)

though any constants defined via macros get caught up in the conversion.

Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.

Some manual whitespace fixes were needed in this patch, as Coccinelle
really liked to write "=devm_kcalloc..." instead of "= devm_kcalloc...".

The Coccinelle script used for this was:

// Fix redundant parens around sizeof().
@@
expression HANDLE;
type TYPE;
expression THING, E;
@@

(
  devm_kzalloc(HANDLE,
-	(sizeof(TYPE)) * E
+	sizeof(TYPE) * E
  , ...)
|
  devm_kzalloc(HANDLE,
-	(sizeof(THING)) * E
+	sizeof(THING) * E
  , ...)
)

// Drop single-byte sizes and redundant parens.
@@
expression HANDLE;
expression COUNT;
typedef u8;
typedef __u8;
@@

(
  devm_kzalloc(HANDLE,
-	sizeof(u8) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(__u8) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(char) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(unsigned char) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(u8) * COUNT
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(__u8) * COUNT
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(char) * COUNT
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(unsigned char) * COUNT
+	COUNT
  , ...)
)

// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
expression HANDLE;
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@

(
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * (COUNT_ID)
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * COUNT_ID
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * (COUNT_CONST)
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * COUNT_CONST
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * (COUNT_ID)
+	COUNT_ID, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * COUNT_ID
+	COUNT_ID, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * (COUNT_CONST)
+	COUNT_CONST, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * COUNT_CONST
+	COUNT_CONST, sizeof(THING)
  , ...)
)

// 2-factor product, only identifiers.
@@
expression HANDLE;
identifier SIZE, COUNT;
@@

- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	SIZE * COUNT
+	COUNT, SIZE
  , ...)

// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression HANDLE;
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@

(
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
)

// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression HANDLE;
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@

(
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
)

// 3-factor product, only identifiers, with redundant parens removed.
@@
expression HANDLE;
identifier STRIDE, SIZE, COUNT;
@@

(
  devm_kzalloc(HANDLE,
-	(COUNT) * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(COUNT) * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(COUNT) * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(COUNT) * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
)

// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression HANDLE;
expression E1, E2, E3;
constant C1, C2, C3;
@@

(
  devm_kzalloc(HANDLE, C1 * C2 * C3, ...)
|
  devm_kzalloc(HANDLE,
-	(E1) * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(E1) * (E2) * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(E1) * (E2) * (E3)
+	array3_size(E1, E2, E3)
  , ...)
|
  devm_kzalloc(HANDLE,
-	E1 * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
)

// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression HANDLE;
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@

(
  devm_kzalloc(HANDLE, sizeof(THING) * C2, ...)
|
  devm_kzalloc(HANDLE, sizeof(TYPE) * C2, ...)
|
  devm_kzalloc(HANDLE, C1 * C2 * C3, ...)
|
  devm_kzalloc(HANDLE, C1 * C2, ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * (E2)
+	E2, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * E2
+	E2, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * (E2)
+	E2, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * E2
+	E2, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	(E1) * E2
+	E1, E2
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	(E1) * (E2)
+	E1, E2
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	E1 * E2
+	E1, E2
  , ...)
)

Signed-off-by: Kees Cook <keescook@chromium.org>
2018-06-12 16:19:22 -07:00
..
88pm860x-codec.c ASoC: 88pm860x: replace codec to component 2018-02-12 11:07:55 +00:00
88pm860x-codec.h ASoC: 88pm860x: replace codec to component 2018-02-12 11:07:55 +00:00
ab8500-codec.c ASoC: ab8500: replace codec to component 2018-02-12 09:56:23 +00:00
ab8500-codec.h
ac97.c ASoC: ac97: replace codec to component 2018-02-12 09:37:29 +00:00
ad193x-i2c.c ASoC: ad193x: replace codec to component 2018-02-12 09:56:27 +00:00
ad193x-spi.c ASoC: ad193x: replace codec to component 2018-02-12 09:56:27 +00:00
ad193x.c ASoC: ad193x: replace codec to component 2018-02-12 09:56:27 +00:00
ad193x.h
ad1836.c ASoC: ad1836: replace codec to component 2018-02-12 09:56:31 +00:00
ad1836.h
ad1980.c ASoC: ad1980: replace codec to component 2018-02-13 12:04:39 +00:00
ad73311.c ASoC: ad73311: replace codec to component 2018-02-13 12:03:31 +00:00
ad73311.h
adau17x1.c ASoC: adau17x1: Do not reload dsp-fw if samplerate has not changed 2018-04-16 12:58:54 +01:00
adau17x1.h ASoC: adau17x1: Handling of DSP_RUN register during fw setup 2018-04-13 11:39:16 +01:00
adau1373.c ASoC: adau1373: replace codec to component 2018-02-12 09:50:43 +00:00
adau1373.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adau1701.c ASoC: adau1701: replace codec to component 2018-02-12 12:24:24 +00:00
adau1701.h
adau1761-i2c.c
adau1761-spi.c
adau1761.c ASoC: adau17x1/adau1761/adau1781: replace codec to component 2018-02-12 09:51:35 +00:00
adau1761.h
adau1781-i2c.c
adau1781-spi.c
adau1781.c ASoC: adau17x1/adau1761/adau1781: replace codec to component 2018-02-12 09:51:35 +00:00
adau1781.h
adau1977-i2c.c ASoC: adau1977: replace codec to component 2018-02-12 09:51:02 +00:00
adau1977-spi.c ASoC: adau1977: replace codec to component 2018-02-12 09:51:02 +00:00
adau1977.c ASoC: adau1977: replace codec to component 2018-02-12 09:51:02 +00:00
adau1977.h
adau7002.c ASoC: ADAU7002: Adding ACPI id 2018-02-19 16:53:10 +00:00
adau-utils.c
adau-utils.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adav80x.c ASoC: adav80x: replace codec to component 2018-02-12 09:50:24 +00:00
adav80x.h
adav801.c ASoC: adav80x: replace codec to component 2018-02-12 09:50:24 +00:00
adav803.c ASoC: adav80x: replace codec to component 2018-02-12 09:50:24 +00:00
ads117x.c ASoC: ads117x: replace codec to component 2018-02-12 09:56:19 +00:00
ak4104.c ASoC: ak4104: replace codec to component 2018-02-12 09:45:17 +00:00
ak4458.c ASoC: ak4458: Sort headers alphabetically 2018-02-20 12:03:16 +00:00
ak4458.h ASoC: ak4458: Modify SPDX license format 2018-02-20 12:03:15 +00:00
ak4535.c ASoC: ak4535: replace codec to component 2018-02-12 09:45:21 +00:00
ak4535.h
ak4554.c ASoC: ak4554: replace codec to component 2018-02-12 09:45:34 +00:00
ak4613.c ASoC: ak4613: don't have .use_pmdown_time 2018-02-14 11:31:12 +00:00
ak4641.c ASoC: ak4641: replace codec to component 2018-02-12 09:45:26 +00:00
ak4642.c ASoC: ak4642: don't have .use_pmdown_time 2018-02-14 11:31:16 +00:00
ak4671.c ASoC: ak4671: replace codec to component 2018-02-12 09:45:13 +00:00
ak4671.h
ak5386.c ASoC: ak5386: replace codec to component 2018-02-12 09:45:08 +00:00
ak5558.c ASoC: ak5558: Fix style for SPDX identifier 2018-02-20 15:02:58 +00:00
ak5558.h ASoC: ak5558: Fix style for SPDX identifier 2018-02-20 15:02:58 +00:00
alc5623.c ASoC: alc5623: replace codec to component 2018-02-12 10:00:19 +00:00
alc5623.h
alc5632.c ASoC: alc5632: replace codec to component 2018-02-12 10:00:14 +00:00
alc5632.h
arizona.c ASoC: arizona: Fixup some minor formatting issues 2018-02-21 11:20:33 +00:00
arizona.h ASoC: arizona: replace codec to component 2018-02-14 10:44:19 +00:00
bd28623.c ASoC: support ROHM BD28623 codec 2018-02-27 10:41:34 +00:00
bt-sco.c ASoC: bt-sco: replace codec to component 2018-02-12 10:00:52 +00:00
cpcap.c ASoC: cpcap: replace codec to component 2018-03-28 10:11:26 +08:00
cq93vc.c ASoC: cq93vc: replace codec to component 2018-02-12 11:08:12 +00:00
cs35l32.c ASoC: cs35l32: replace codec to component 2018-02-12 09:46:51 +00:00
cs35l32.h
cs35l33.c ASoC: cs35l33: replace codec to component 2018-02-12 09:46:56 +00:00
cs35l33.h
cs35l34.c ASoC: cs35l34: replace codec to component 2018-02-12 09:47:05 +00:00
cs35l34.h
cs35l35.c ASoC: cs35l35: Add use_single_rw to regmap config 2018-05-05 10:31:11 +09:00
cs35l35.h
cs42l42.c ASoC: cs42l42: replace codec to component 2018-02-12 09:47:35 +00:00
cs42l42.h ASoC: cs42l42: replace codec to component 2018-02-12 09:47:35 +00:00
cs42l51-i2c.c ASoC: cs42l51: replace codec to component 2018-02-12 09:47:30 +00:00
cs42l51.c ASoC: cs42l51: replace codec to component 2018-02-12 09:47:30 +00:00
cs42l51.h
cs42l52.c ASoC: cs42l52: replace codec to component 2018-02-12 09:47:22 +00:00
cs42l52.h
cs42l56.c ASoC: cs42l56: replace codec to component 2018-02-12 09:47:26 +00:00
cs42l56.h
cs42l73.c ASoC: cs42l73: replace codec to component 2018-02-12 09:47:14 +00:00
cs42l73.h
cs42xx8-i2c.c ASoC: cs42xx8: replace codec to component 2018-02-12 09:47:10 +00:00
cs42xx8.c ASoC: cs42xx8: replace codec to component 2018-02-12 09:47:10 +00:00
cs42xx8.h
cs47l24.c ASoC: arizona: Fixup some minor formatting issues 2018-02-21 11:20:33 +00:00
cs47l24.h
cs53l30.c ASoC: cs53l30: replace codec to component 2018-02-12 09:47:52 +00:00
cs53l30.h
cs4265.c ASoC: cs4265: replace codec to component 2018-02-12 09:46:46 +00:00
cs4265.h
cs4270.c ASoC: cs4270: replace codec to component 2018-02-12 09:46:38 +00:00
cs4271-i2c.c ASoC: cs4271: replace codec to component 2018-02-12 09:38:34 +00:00
cs4271-spi.c ASoC: cs4271: replace codec to component 2018-02-12 09:38:34 +00:00
cs4271.c ASoC: cs4271: replace codec to component 2018-02-12 09:38:34 +00:00
cs4271.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cs4349.c ASoC: cs4349: replace codec to component 2018-02-12 09:46:42 +00:00
cs4349.h
cs43130.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
cs43130.h ASoC: cs43130: replace codec to component 2018-02-12 09:47:39 +00:00
cx20442.c ASoC: cx20442: replace codec to component 2018-02-12 09:52:52 +00:00
cx20442.h
da732x_reg.h
da732x.c ASoC: da732x: replace codec to component 2018-02-12 09:48:07 +00:00
da732x.h
da7210.c ASoC: da7210: Use devm_snd_soc_register_component() 2018-03-18 17:59:39 -07:00
da7213.c ASoC: da7213: replace codec to component 2018-02-12 09:48:38 +00:00
da7213.h ASoC: da7213: add support for DSP modes 2017-11-09 11:42:26 +00:00
da7218.c ASoC: da7218: replace codec to component 2018-02-12 09:48:34 +00:00
da7218.h ASoC: da7218: replace codec to component 2018-02-12 09:48:34 +00:00
da7219-aad.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
da7219-aad.h ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
da7219.c ASoC: da7219: make structure da7219_dai_clks_ops static 2018-03-14 09:26:44 -07:00
da7219.h ASoC: da7219: Add common clock usage for providing DAI clks 2018-03-09 17:40:41 +00:00
da9055.c ASoC: da9055: replace codec to component 2018-02-12 09:48:57 +00:00
dio2125.c
dmic.c ASoC: dmic: don't use codec anymore 2018-02-21 11:19:57 +00:00
es7134.c ASoC: es7134: replace codec to component 2018-02-12 09:59:41 +00:00
es8316.c ASoC: es8316: replace codec to component 2018-02-12 09:59:29 +00:00
es8316.h
es8328-i2c.c ASoC: es8328: replace codec to component 2018-02-12 10:00:05 +00:00
es8328-spi.c ASoC: es8328: replace codec to component 2018-02-12 10:00:05 +00:00
es8328.c ASoC: es8328: replace codec to component 2018-02-12 10:00:05 +00:00
es8328.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gtm601.c ASoC: gtm601: replace codec to component 2018-02-12 11:07:45 +00:00
hdac_hdmi.c ASoC: Intel: Fix build 2018-02-15 17:14:16 +00:00
hdac_hdmi.h ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
hdmi-codec.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
ics43432.c ASoC: ics43432: replace codec to component 2018-02-12 11:08:38 +00:00
inno_rk3036.c ASoC: inno_rk3036: replace codec to component 2018-02-12 11:07:18 +00:00
inno_rk3036.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
isabelle.c ASoC: isabelle: replace codec to component 2018-02-12 11:07:24 +00:00
isabelle.h
jz4740.c ASoC: jz4740: replace codec to component 2018-02-12 11:08:16 +00:00
Kconfig ASoC: TSCS454: Add Support 2018-06-01 12:05:30 +01:00
l3.c
lm4857.c
lm49453.c ASoC: lm49453: replace codec to component 2018-02-12 11:08:07 +00:00
lm49453.h
Makefile ASoC: TSCS454: Add Support 2018-06-01 12:05:30 +01:00
max9759.c ASoC: max9759: Add Amplifier Driver 2018-02-20 12:05:58 +00:00
max9768.c
max9850.c ASoC: max9850: replace codec to component 2018-02-12 09:49:07 +00:00
max9850.h
max9860.c ASoC: max9860: switch to SPDX license tag 2018-04-16 12:37:36 +01:00
max9860.h ASoC: max9860: switch to SPDX license tag 2018-04-16 12:37:36 +01:00
max9867.c ASoC: max9867: Drop probe function 2018-03-02 13:17:04 +00:00
max9867.h ASoC: max9867: Drop probe function 2018-03-02 13:17:04 +00:00
max9877.c
max9877.h
max98088.c ASoC: max98088: use match_string() helper 2018-05-31 17:06:51 +01:00
max98088.h
max98090.c ASoC: max98090: replace codec to component 2018-02-12 09:49:34 +00:00
max98090.h ASoC: max98090: replace codec to component 2018-02-12 09:49:34 +00:00
max98095.c ASoC: max98095: use match_string() helper 2018-05-31 17:07:03 +01:00
max98095.h ASoC: max98095: replace codec to component 2018-02-12 09:49:20 +00:00
max98357a.c ASoC: max98357a: replace codec to component 2018-02-12 09:49:57 +00:00
max98371.c ASoC: max98371: replace codec to component 2018-02-12 09:49:14 +00:00
max98371.h ASoC: max98371: replace codec to component 2018-02-12 09:49:14 +00:00
max98373.c ASoC: max98373: replace codec to component 2018-02-12 09:50:09 +00:00
max98373.h ASoC: max98373 Changed SPDX header in C++ comments style 2018-01-22 12:23:45 +00:00
max98504.c
max98504.h
max98925.c ASoC: max98925: replace codec to component 2018-02-12 09:49:47 +00:00
max98925.h ASoC: max98925: replace codec to component 2018-02-12 09:49:47 +00:00
max98926.c ASoC: max98926: replace codec to component 2018-02-12 09:49:38 +00:00
max98926.h ASoC: max98926: replace codec to component 2018-02-12 09:49:38 +00:00
max98927.c ASoC: max98927: replace codec to component 2018-02-12 09:49:52 +00:00
max98927.h ASoC: max98927: replace codec to component 2018-02-12 09:49:52 +00:00
mc13783.c ASoC: mc13783: replace codec to component 2018-02-12 11:06:44 +00:00
mc13783.h
ml26124.c ASoC: ml26124: replace codec to component 2018-02-12 11:08:25 +00:00
ml26124.h
msm8916-wcd-analog.c ASoC: msm8916-wcd-analog: use threaded context for mbhc events 2018-04-19 12:30:42 +01:00
msm8916-wcd-digital.c ASoC: msm8916-wcd-digital: replace codec to component 2018-02-12 09:55:20 +00:00
mt6351.c ASoC: fix return value check in mt6351_codec_driver_probe() 2018-05-09 17:32:05 +09:00
mt6351.h ASoC: add mt6351 codec driver 2018-04-26 12:44:15 +01:00
nau8540.c ASoC: nau8540: replace codec to component 2018-02-12 09:59:09 +00:00
nau8540.h ASoC: nau8540: improve FLL performance 2017-11-16 11:59:52 +00:00
nau8810.c ASoC: nau8810: change input PGA mixer stage 2018-05-04 08:13:06 +09:00
nau8810.h
nau8824.c ASoC: nau8824: fix spelling mistake: "semaphone" -> "semaphore" 2018-05-09 18:22:00 +09:00
nau8824.h ASoC: nau8824: replace codec to component 2018-02-12 09:58:44 +00:00
nau8825.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
nau8825.h ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
pcm179x-i2c.c ASoC: pcm179x: replace codec to component 2018-02-12 09:53:31 +00:00
pcm179x-spi.c ASoC: pcm179x: replace codec to component 2018-02-12 09:53:31 +00:00
pcm179x.c ASoC: pcm179x: replace codec to component 2018-02-12 09:53:31 +00:00
pcm179x.h ASoC: pcm179x: replace codec to component 2018-02-12 09:53:31 +00:00
pcm186x-i2c.c ASoC: pcm186x: replace codec to component 2018-02-12 11:09:41 +00:00
pcm186x-spi.c ASoC: pcm186x: replace codec to component 2018-02-12 11:09:41 +00:00
pcm186x.c ASoC: pcm186x: replace codec to component 2018-02-12 11:09:41 +00:00
pcm186x.h ASoC: pcm186x: replace codec to component 2018-02-12 11:09:41 +00:00
pcm512x-i2c.c ASoC: pcm512x: Add ACPI support 2018-05-18 17:46:03 +01:00
pcm512x-spi.c ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2017-11-27 16:44:41 +00:00
pcm512x.c ASoC: pcm512x: replace codec to component 2018-02-12 09:53:57 +00:00
pcm512x.h ASoC: pcm512x: Scrub my work address from the driver 2017-11-08 10:49:57 +00:00
pcm1681.c ASoC: pcm1681: replace codec to component 2018-02-12 09:53:41 +00:00
pcm1789-i2c.c ASoC: codecs: Add support for PCM1789 2018-03-19 09:23:59 +08:00
pcm1789.c ASoC: codecs: PCM1789: include gpio/consumer.h 2018-05-31 11:24:42 +01:00
pcm1789.h ASoC: codecs: Add support for PCM1789 2018-03-19 09:23:59 +08:00
pcm3008.c ASoC: pcm3008: replace codec to component 2018-02-12 09:53:36 +00:00
pcm3008.h
pcm3168a-i2c.c
pcm3168a-spi.c
pcm3168a.c ASoC: pcm3168a: replace codec to component 2018-02-12 09:54:28 +00:00
pcm3168a.h
pcm5102a.c ASoC: pcm5102a: replace codec to component 2018-02-12 09:54:08 +00:00
rl6231.c ASoC: rl6231: remove never matched if condition 2017-12-21 11:13:26 +00:00
rl6231.h
rl6347a.c
rl6347a.h
rt274.c ASoC: rt274: replace codec to component 2018-02-12 09:45:38 +00:00
rt274.h
rt286.c Merge remote-tracking branches 'asoc/topic/pistachio', 'asoc/topic/pxa', 'asoc/topic/rsnd', 'asoc/topic/rt274' and 'asoc/topic/rt286' into asoc-next 2018-03-28 10:30:19 +08:00
rt286.h ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
rt298.c Merge remote-tracking branches 'asoc/topic/rt298', 'asoc/topic/rt5514', 'asoc/topic/rt5616', 'asoc/topic/rt5631' and 'asoc/topic/rt5640' into asoc-next 2018-03-28 10:30:24 +08:00
rt298.h ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
rt1305.c ASoC: rt1305: fix platform_no_drv_owner.cocci warnings 2018-04-17 10:56:19 +01:00
rt1305.h ASoC: rt1305: Add RT1305/RT1306 amplifier driver 2018-04-16 19:09:10 +01:00
rt5514-spi.c Merge remote-tracking branches 'asoc/topic/rt298', 'asoc/topic/rt5514', 'asoc/topic/rt5616', 'asoc/topic/rt5631' and 'asoc/topic/rt5640' into asoc-next 2018-03-28 10:30:24 +08:00
rt5514-spi.h ASoC: rt5514-spi: check irq status to schedule data copy 2017-09-13 09:40:30 -07:00
rt5514.c ASoC: rt5514: Add the missing register in the readable table 2018-04-16 17:54:59 +01:00
rt5514.h ASoC: rt5514: replace codec to component 2018-02-12 09:45:58 +00:00
rt5616.c ASoC: rt5616: replace codec to component 2018-02-12 09:45:42 +00:00
rt5616.h
rt5631.c ASoC: rt5631: replace codec to component 2018-02-12 09:46:29 +00:00
rt5631.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rt5640.c ASoC: rt5640: Add button press support 2018-05-11 11:23:37 +09:00
rt5640.h ASoC: rt5640: Add button press support 2018-05-11 11:23:37 +09:00
rt5645.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
rt5645.h ASoC: rt5645/rt5677: replace codec to component 2018-02-12 11:18:44 +00:00
rt5651.c Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2018-03-28 10:26:09 +08:00
rt5651.h ASoC: rt5651: move definitions of dt-binding constants to include/dt-bindings 2018-03-12 14:15:51 -07:00
rt5659.c ASoC: rt5659: Separate adc 1/2 clock control 2018-03-12 09:35:32 -07:00
rt5659.h ASoC: rt5659: Separate adc 1/2 clock control 2018-03-12 09:35:32 -07:00
rt5660.c ASoC: rt5660: replace codec to component 2018-02-12 09:46:24 +00:00
rt5660.h ASoC: rt5660: replace codec to component 2018-02-12 09:46:24 +00:00
rt5663.c ASoC: rt5663: rt5663_set_jack_detect() can be static 2018-05-17 13:33:24 +09:00
rt5663.h ASoC: rt5663: Use the set_jack() instead of the export function 2018-05-17 13:33:23 +09:00
rt5665.c ASoC: rt5665: remove rt5668 support 2018-02-12 11:48:26 +00:00
rt5665.h ASoC: rt5665: remove rt5668 support 2018-02-12 11:48:26 +00:00
rt5668.c ASoC: rt5668: fix incorrect 'and' operator 2018-04-19 15:40:01 +01:00
rt5668.h ASoC: rt5668: add rt5668B codec driver 2018-04-16 19:24:32 +01:00
rt5670-dsp.h
rt5670.c ASoC: rt5670: improve PLL function's stability 2018-05-17 18:10:41 +01:00
rt5670.h ASoC: rt5670: replace codec to component 2018-02-12 09:46:19 +00:00
rt5677-spi.c
rt5677-spi.h
rt5677.c ASoC: rt5677: Convert I2C driver to ->probe_new() 2018-05-18 16:50:49 +01:00
rt5677.h ASoC: rt5645/rt5677: replace codec to component 2018-02-12 11:18:44 +00:00
sgtl5000.c ASoC: sgtl5000: Switch to SPDX identifier 2018-04-23 12:39:52 +01:00
sgtl5000.h ASoC: sgtl5000: Switch to SPDX identifier 2018-04-23 12:39:52 +01:00
si476x.c ASoC: si476x: replace codec to component 2018-02-12 11:08:29 +00:00
sigmadsp-i2c.c
sigmadsp-regmap.c
sigmadsp.c
sigmadsp.h
sirf-audio-codec.c ASoC: sirf-audio: replace codec to component 2018-02-12 11:07:13 +00:00
sirf-audio-codec.h
spdif_receiver.c ASoC: spdif_receiver: replace codec to component 2018-02-12 09:55:31 +00:00
spdif_transmitter.c ASoC: spdif_transmitter: replace codec to component 2018-02-12 09:55:26 +00:00
ssm2305.c ASoC: ssm2305: fix header layout 2018-05-18 11:20:11 +01:00
ssm2518.c ASoC: ssm2518: replace codec to component 2018-02-12 09:57:09 +00:00
ssm2518.h
ssm2602-i2c.c ASoC: ssm2602: replace codec to component 2018-02-12 09:57:04 +00:00
ssm2602-spi.c ASoC: ssm2602: replace codec to component 2018-02-12 09:57:04 +00:00
ssm2602.c Merge remote-tracking branches 'asoc/topic/ssm2518', 'asoc/topic/ssm2602', 'asoc/topic/ssm4567', 'asoc/topic/sta32x' and 'asoc/topic/sta350' into asoc-next 2018-03-28 10:30:45 +08:00
ssm2602.h
ssm4567.c ASoC: ssm4567: replace codec to component 2018-02-12 09:56:57 +00:00
sta32x.c ASoC: sta32x: replace codec to component 2018-02-12 09:57:44 +00:00
sta32x.h
sta350.c ASoC: sta350: replace codec to component 2018-02-12 09:57:27 +00:00
sta350.h
sta529.c ASoC: sta529: replace codec to component 2018-02-12 09:58:14 +00:00
stac9766.c ASoC: stac9766: replace codec to component 2018-02-13 12:04:37 +00:00
sti-sas.c ASoC: sti-sas: replace codec to component 2018-02-12 11:07:41 +00:00
tas571x.c ASoC: tas571x: replace codec to component 2018-02-12 09:58:39 +00:00
tas571x.h
tas2552.c ASoC: tas2552: replace codec to component 2018-02-12 09:55:48 +00:00
tas2552.h
tas5086.c ASoC: tas5086: replace codec to component 2018-02-12 09:58:34 +00:00
tas5720.c ASoC: tas5720: replace codec to component 2018-02-12 09:55:36 +00:00
tas5720.h ASoC: tas5720: add TAS5722 register support 2017-12-12 12:03:22 +00:00
tas6424.c ASoC: tas6424: Allow disabling auto diagnostics for faster power-on 2018-05-04 08:13:12 +09:00
tas6424.h ASoC: tas6424: Allow disabling auto diagnostics for faster power-on 2018-05-04 08:13:12 +09:00
tda7419.c ASoC: add tda7419 audio processor driver 2018-03-19 09:39:25 +08:00
tfa9879.c ASoC: tfa9879: switch to SPDX license tag 2018-04-16 11:53:52 +01:00
tfa9879.h ASoC: tfa9879: switch to SPDX license tag 2018-04-16 11:53:52 +01:00
tlv320aic3x.c ASoC: tlv320aic3x: Use empty struct initializer 2018-02-14 11:31:33 +00:00
tlv320aic3x.h
tlv320aic23-i2c.c ASoC: tlv320aic23: replace codec to component 2018-02-12 09:51:51 +00:00
tlv320aic23-spi.c ASoC: tlv320aic23: replace codec to component 2018-02-12 09:51:51 +00:00
tlv320aic23.c ASoC: tlv320aic23: replace codec to component 2018-02-12 09:51:51 +00:00
tlv320aic23.h
tlv320aic26.c ASoC: tlv320aic26: replace codec to component 2018-02-12 09:52:06 +00:00
tlv320aic26.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tlv320aic31xx.c ASoC: tlv320aic31xx: Do not force power on the DAC/ADC in clock master mode 2018-02-19 11:35:30 +00:00
tlv320aic31xx.h ASoC: tlv320aic31xx: Do not force power on the DAC/ADC in clock master mode 2018-02-19 11:35:30 +00:00
tlv320aic32x4-i2c.c
tlv320aic32x4-spi.c
tlv320aic32x4.c ASoC: tlv320aic32x4: replace codec to component 2018-02-12 09:52:25 +00:00
tlv320aic32x4.h ASoC: tlv320aic32x4: Use snd_soc_update_bits() in aic32x4_hw_params() 2017-12-13 12:28:55 +00:00
tlv320dac33.c ASoC: tlv320dac33: replace codec to component 2018-02-12 09:52:21 +00:00
tlv320dac33.h
tpa6130a2.c ASoC: tpa6130a2: mark expected switch fall-through 2017-11-08 21:28:15 +00:00
tpa6130a2.h
ts3a227e.c ASoC: ts3a227e: Map BTN_0 to KEY_PLAYPAUSE 2017-11-27 13:01:38 +00:00
ts3a227e.h
tscs42xx.c ASoC: TSCS42xx: Add CCF support to get sysclk 2018-04-16 11:53:47 +01:00
tscs42xx.h ASoC: TSCS42xx: Add CCF support to get sysclk 2018-04-16 11:53:47 +01:00
tscs454.c ASoC: TSCS454: Add Support 2018-06-01 12:05:30 +01:00
tscs454.h ASoC: TSCS454: Add Support 2018-06-01 12:05:30 +01:00
twl4030.c ASoC: twl4030: replace codec to component 2018-02-12 09:55:03 +00:00
twl6040.c ASoC: twl6040: remove duplicated remove callback 2018-03-20 09:03:05 +08:00
twl6040.h ASoC: twl6040: replace codec to component 2018-02-12 09:54:38 +00:00
uda134x.c ASoC: uda134x: replace codec to component 2018-02-12 11:08:33 +00:00
uda134x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uda1380.c ASoC: uda1380: replace codec to component 2018-02-12 11:08:21 +00:00
uda1380.h
wl1273.c ASoC: wl1273: replace codec to component 2018-02-12 10:01:22 +00:00
wl1273.h ASoC: wl1273: replace codec to component 2018-02-12 10:01:22 +00:00
wm0010.c ASoC: wm0010: replace codec to component 2018-02-12 09:37:48 +00:00
wm1250-ev1.c ASoC: wm1250-ev1: replace codec to component 2018-02-12 09:44:47 +00:00
wm2000.c ASoC: wm2000: replace codec to component 2018-02-12 09:38:55 +00:00
wm2000.h
wm2200.c ASoC: wm2200,wm5100: fix spelling mistake: "Coefficeints" -> "Coefficients" 2018-05-18 10:14:39 +01:00
wm2200.h
wm5100-tables.c
wm5100.c ASoC: wm2200,wm5100: fix spelling mistake: "Coefficeints" -> "Coefficients" 2018-05-18 10:14:39 +01:00
wm5100.h ASoC: wm5100: replace codec to component 2018-02-12 09:39:53 +00:00
wm5102.c ASoC: arizona: Fixup some minor formatting issues 2018-02-21 11:20:33 +00:00
wm5102.h
wm5110.c ASoC: arizona: Fixup some minor formatting issues 2018-02-21 11:20:33 +00:00
wm5110.h
wm8350.c ASoC: wm8350: replace codec to component 2018-02-12 09:39:59 +00:00
wm8350.h ASoC: wm8350: replace codec to component 2018-02-12 09:39:59 +00:00
wm8400.c ASoC: wm8400: Use devm_snd_soc_register_component() 2018-03-18 17:59:27 -07:00
wm8400.h
wm8510.c ASoC: wm8510: replace codec to component 2018-02-12 09:40:24 +00:00
wm8510.h
wm8523.c ASoC: wm8523: replace codec to component 2018-02-12 09:40:29 +00:00
wm8523.h
wm8524.c ASoC: wm8524: replace codec to component 2018-02-12 09:40:18 +00:00
wm8580.c ASoC: wm8580: replace codec to component 2018-02-12 09:40:14 +00:00
wm8580.h
wm8711.c ASoC: wm8711: replace codec to component 2018-02-12 09:40:43 +00:00
wm8711.h
wm8727.c ASoC: wm8727: replace codec to component 2018-02-12 09:41:04 +00:00
wm8728.c ASoC: wm8728: replace codec to component 2018-02-12 09:41:17 +00:00
wm8728.h
wm8731.c ASoC: wm8731: replace codec to component 2018-02-12 09:41:08 +00:00
wm8731.h
wm8737.c ASoC: wm8737: replace codec to component 2018-02-12 09:40:52 +00:00
wm8737.h
wm8741.c ASoC: wm8741: replace codec to component 2018-02-12 09:41:25 +00:00
wm8741.h
wm8750.c ASoC: wm8750: replace codec to component 2018-02-12 09:40:48 +00:00
wm8750.h
wm8753.c ASoC: wm8753: replace codec to component 2018-02-12 09:41:29 +00:00
wm8753.h
wm8770.c ASoC: wm8770: replace codec to component 2018-02-12 09:41:00 +00:00
wm8770.h
wm8776.c ASoC: wm8776: replace codec to component 2018-02-12 09:40:56 +00:00
wm8776.h
wm8782.c ASoC: wm8782: add device-tree matching table 2018-05-22 11:57:18 +01:00
wm8804-i2c.c
wm8804-spi.c
wm8804.c ASoC: wm8804: replace codec to component 2018-02-12 09:38:10 +00:00
wm8804.h
wm8900.c ASoC: wm8900: replace codec to component 2018-02-12 09:41:33 +00:00
wm8900.h
wm8903.c ASoC: wm8903: replace codec to component 2018-02-12 09:41:37 +00:00
wm8903.h ASoC: wm8903: replace codec to component 2018-02-12 09:41:37 +00:00
wm8904.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
wm8904.h
wm8940.c ASoC: wm8940: replace codec to component 2018-02-12 09:42:46 +00:00
wm8940.h
wm8955.c ASoC: wm8955: replace codec to component 2018-02-12 09:41:42 +00:00
wm8955.h
wm8958-dsp2.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
wm8960.c ASoC: wm8960: replace codec to component 2018-02-12 09:41:46 +00:00
wm8960.h
wm8961.c ASoC: wm8961: replace codec to component 2018-02-12 09:42:40 +00:00
wm8961.h
wm8962.c ASoC: wm8962: replace codec to component 2018-02-12 09:42:21 +00:00
wm8962.h ASoC: wm8962: replace codec to component 2018-02-12 09:42:21 +00:00
wm8971.c ASoC: wm8971: replace codec to component 2018-02-12 09:41:55 +00:00
wm8971.h
wm8974.c ASoC: wm8974: replace codec to component 2018-02-12 09:42:03 +00:00
wm8974.h
wm8978.c ASoC: wm8978: replace codec to component 2018-02-12 09:41:59 +00:00
wm8978.h
wm8983.c ASoC: wm8983: replace codec to component 2018-02-12 09:42:16 +00:00
wm8983.h
wm8985.c ASoC: wm8985: replace codec to component 2018-02-12 09:41:50 +00:00
wm8985.h
wm8988.c ASoC: wm8988: replace codec to component 2018-02-12 09:42:12 +00:00
wm8988.h
wm8990.c ASoC: wm8990: replace codec to component 2018-02-12 09:42:07 +00:00
wm8990.h
wm8991.c ASoC: wm8991: replace codec to component 2018-02-12 09:42:30 +00:00
wm8991.h
wm8993.c ASoC: wm8993/wm8994/wm8958: replace codec to component 2018-02-12 11:38:50 +00:00
wm8993.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wm8994.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
wm8994.h ASoC: wm8993/wm8994/wm8958: replace codec to component 2018-02-12 11:38:50 +00:00
wm8995.c ASoC: wm8995: replace codec to component 2018-02-12 09:42:34 +00:00
wm8995.h
wm8996.c ASoC: wm8996: replace codec to component 2018-02-12 09:42:25 +00:00
wm8996.h ASoC: wm8996: replace codec to component 2018-02-12 09:42:25 +00:00
wm8997.c ASoC: arizona: Fixup some minor formatting issues 2018-02-21 11:20:33 +00:00
wm8997.h
wm8998.c ASoC: arizona: Fixup some minor formatting issues 2018-02-21 11:20:33 +00:00
wm8998.h
wm9081.c ASoC: wm9081: fixup wm9081_digital_mute() reg read 2018-02-13 11:58:45 +00:00
wm9081.h
wm9090.c ASoC: wm9090: replace codec to component 2018-02-12 09:43:35 +00:00
wm9090.h
wm9705.c ASoC: wm9705: replace codec to component 2018-02-13 12:04:38 +00:00
wm9712.c Merge remote-tracking branches 'asoc/topic/wm9090', 'asoc/topic/wm9712', 'asoc/topic/wm9713' and 'asoc/topic/wm_adsp' into asoc-next 2018-03-28 10:31:58 +08:00
wm9713.c Merge remote-tracking branches 'asoc/topic/wm9090', 'asoc/topic/wm9712', 'asoc/topic/wm9713' and 'asoc/topic/wm_adsp' into asoc-next 2018-03-28 10:31:58 +08:00
wm9713.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wm_adsp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
wm_adsp.h Merge remote-tracking branches 'asoc/topic/wm9090', 'asoc/topic/wm9712', 'asoc/topic/wm9713' and 'asoc/topic/wm_adsp' into asoc-next 2018-03-28 10:31:58 +08:00
wm_hubs.c ASoC: wm8993/wm8994/wm8958: replace codec to component 2018-02-12 11:38:50 +00:00
wm_hubs.h ASoC: wm8993/wm8994/wm8958: replace codec to component 2018-02-12 11:38:50 +00:00
wmfw.h
zx_aud96p22.c ASoC: zx_aud96p22: replace codec to component 2018-02-12 10:01:16 +00:00