linux-stable/sound/soc/codecs
Arnd Bergmann 7061b8a522
ASoC: cros_ec_codec: fix uninitialized memory read
gcc points out a memory area that is copied to a device
but not initialized:

sound/soc/codecs/cros_ec_codec.c: In function 'i2s_rx_event':
arch/x86/include/asm/string_32.h:83:20: error: '*((void *)&p+4)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   83 |   *((int *)to + 1) = *((int *)from + 1);

Initialize all the unused fields to zero.

Fixes: 727f1c71c7 ("ASoC: cros_ec_codec: refactor I2S RX")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20201203225458.1477830-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-12-04 23:26:33 +00:00
..
88pm860x-codec.c
88pm860x-codec.h
ab8500-codec.c
ab8500-codec.h
ac97.c
ad193x-i2c.c
ad193x-spi.c
ad193x.c
ad193x.h
ad1836.c
ad1836.h
ad1980.c
ad73311.c
ad73311.h
adau-utils.c
adau-utils.h
adau17x1.c
adau17x1.h
adau1372-i2c.c ASoC: Add ADAU1372 audio CODEC support 2020-11-30 12:56:33 +00:00
adau1372-spi.c ASoC: Add ADAU1372 audio CODEC support 2020-11-30 12:56:33 +00:00
adau1372.c ASoC: Add ADAU1372 audio CODEC support 2020-11-30 12:56:33 +00:00
adau1372.h ASoC: Add ADAU1372 audio CODEC support 2020-11-30 12:56:33 +00:00
adau1373.c
adau1373.h
adau1701.c
adau1701.h
adau1761-i2c.c
adau1761-spi.c
adau1761.c
adau1761.h
adau1781-i2c.c
adau1781-spi.c
adau1781.c
adau1781.h
adau1977-i2c.c
adau1977-spi.c
adau1977.c ASoC: adau1977: remove platform data and move micbias bindings include 2020-10-26 18:37:03 +00:00
adau1977.h
adau7002.c
adau7118-hw.c
adau7118-i2c.c
adau7118.c
adau7118.h
adav80x.c ASoC: codecs: Fix fall-through warnings for Clang 2020-11-20 19:28:34 +00:00
adav80x.h
adav801.c
adav803.c
ads117x.c
ak4104.c
ak4118.c ASoC: ak4118: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:10 +00:00
ak4458.c ASoC: ak4458: Add DSD support for ak4458 and ak4497 2020-09-17 17:40:13 +01:00
ak4458.h ASoC: ak4458: Add DSD support for ak4458 and ak4497 2020-09-17 17:40:13 +01:00
ak4535.c
ak4535.h
ak4554.c
ak4613.c
ak4641.c
ak4642.c
ak4671.c
ak4671.h
ak5386.c
ak5558.c ASoC: ak5558: mark OF related data as maybe unused 2020-11-26 13:06:58 +00:00
ak5558.h
alc5623.c ASoC: alc5623: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:11 +00:00
alc5623.h
alc5632.c ASoC: alc5632: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:12 +00:00
alc5632.h
arizona.c ASoC: codecs: Fix fall-through warnings for Clang 2020-11-20 19:28:34 +00:00
arizona.h
bd28623.c ASoC: bd28623: mark OF related data as maybe unused 2020-11-26 13:06:59 +00:00
bt-sco.c
cpcap.c
cq93vc.c
cros_ec_codec.c ASoC: cros_ec_codec: fix uninitialized memory read 2020-12-04 23:26:33 +00:00
cs35l32.c
cs35l32.h
cs35l33.c
cs35l33.h
cs35l34.c
cs35l34.h
cs35l35.c
cs35l35.h
cs35l36.c
cs35l36.h
cs42l42.c
cs42l42.h
cs42l51-i2c.c
cs42l51.c ASoC: cs42l51: manage mclk shutdown delay 2020-10-23 18:28:51 +01:00
cs42l51.h
cs42l52.c ASoC: codecs: Fix fall-through warnings for Clang 2020-11-20 19:28:34 +00:00
cs42l52.h
cs42l56.c ASoC: codecs: Fix fall-through warnings for Clang 2020-11-20 19:28:34 +00:00
cs42l56.h
cs42l73.c
cs42l73.h
cs42xx8-i2c.c
cs42xx8.c
cs42xx8.h
cs47l15.c ASoC: cs47l15: Fix EPOUT->HPOUT1 Mono Mux routing 2020-09-25 18:18:15 +01:00
cs47l24.c
cs47l24.h
cs47l35.c ASoC: cs47l35: Fix EPOUT->HPOUT1 Mono Mux routing 2020-09-25 18:18:16 +01:00
cs47l85.c
cs47l90.c
cs47l92.c ASoC: codecs: Fix fall-through warnings for Clang 2020-11-20 19:28:34 +00:00
cs53l30.c
cs53l30.h
cs4234.c ASoC: cs4234: Add support for Cirrus Logic CS4234 codec 2020-09-28 17:59:06 +01:00
cs4234.h ASoC: cs4234: Add support for Cirrus Logic CS4234 codec 2020-09-28 17:59:06 +01:00
cs4265.c
cs4265.h
cs4270.c
cs4271-i2c.c
cs4271-spi.c
cs4271.c
cs4271.h
cs4341.c
cs4349.c
cs4349.h
cs43130.c
cs43130.h
cx2072x.c
cx2072x.h
cx20442.c
cx20442.h
da732x.c
da732x.h
da732x_reg.h
da7210.c
da7213.c
da7213.h
da7218.c ASoC: da7218: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:13 +00:00
da7218.h
da7219-aad.c ASoC: da7219: Move required devm_* allocations to device level code 2020-08-17 18:48:43 +01:00
da7219-aad.h ASoC: da7219: Move required devm_* allocations to device level code 2020-08-17 18:48:43 +01:00
da7219.c ASoC: da7219: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:14 +00:00
da7219.h ASoC: da7219: Fix clock handling around codec level probe 2020-08-17 18:48:45 +01:00
da9055.c ASoC: da9055: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:15 +00:00
dmic.c
es7134.c ASoC: es7134: mark OF related data as maybe unused 2020-11-26 13:07:27 +00:00
es7241.c ASoC: es7241: mark OF related data as maybe unused 2020-11-26 13:07:28 +00:00
es8316.c ASoC: es8316: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:16 +00:00
es8316.h
es8328-i2c.c
es8328-spi.c
es8328.c
es8328.h
gtm601.c ASoC: gtm601: mark OF related data as maybe unused 2020-11-26 13:07:00 +00:00
hdac_hda.c ASoC: hdac_hda: allow runtime pm at end of probe 2020-09-30 16:53:23 +02:00
hdac_hda.h
hdac_hdmi.c ASoC: hdac_hdmi: remove cancel_work_sync in runtime suspend 2020-10-02 21:05:27 +01:00
hdac_hdmi.h
hdmi-codec.c ASoC: hdmi-codec: Add RX support 2020-11-26 13:08:11 +00:00
ics43432.c
inno_rk3036.c ASoC: inno_rk3036: mark OF related data as maybe unused 2020-11-26 13:07:01 +00:00
inno_rk3036.h
isabelle.c
isabelle.h
jz4725b.c
jz4740.c
jz4770.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kconfig ASoC: adau1372: add missing dependencies 2020-12-02 15:19:08 +00:00
l3.c
lm4857.c
lm49453.c
lm49453.h
lochnagar-sc.c
lpass-va-macro.c ASoC: codecs: lpass-va-macro: remove some dead code 2020-12-02 15:18:23 +00:00
lpass-wsa-macro.c ASoC: codecs: lpass-wsa-macro: add dapm widgets and route 2020-11-19 12:59:07 +00:00
lpass-wsa-macro.h ASoC: codecs: lpass-wsa-macro: Add support to WSA Macro 2020-11-19 12:59:06 +00:00
madera.c ASoC: madera: use semicolons rather than commas to separate statements 2020-10-26 15:28:09 +00:00
madera.h
Makefile Merge branch '20201104_yung_chuan_liao_regmap_soundwire_asoc_add_soundwire_sdca_support' (early part) into asoc-5.11 2020-12-02 13:56:48 +00:00
max9759.c
max9768.c
max9850.c
max9850.h
max9860.c
max9860.h
max9867.c ASoC: max9867: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:19 +00:00
max9867.h ASoC: max9867: shutdown codec when changing filter type 2020-08-27 14:43:24 +01:00
max9877.c
max9877.h
max98088.c
max98088.h
max98090.c ASoC: max98090: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:16 +00:00
max98090.h
max98095.c ASoC: max98095: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:17 +00:00
max98095.h
max98357a.c
max98371.c ASoC: max98371: drop driver pm=NULL assignment 2020-11-26 13:07:30 +00:00
max98371.h
max98373-i2c.c
max98373-sdw.c ASoC: codecs: max98373-sdw: align regmap use with other codecs 2020-11-12 15:15:54 +00:00
max98373-sdw.h
max98373.c
max98373.h
max98390.c
max98390.h
max98504.c
max98504.h
max98925.c ASoC: max98925: drop driver pm=NULL assignment 2020-11-26 13:07:31 +00:00
max98925.h
max98926.c ASoC: max98926: drop driver pm=NULL assignment 2020-11-26 13:07:32 +00:00
max98926.h
max98927.c
max98927.h
mc13783.c
mc13783.h
ml26124.c
ml26124.h
msm8916-wcd-analog.c ASoC: msm8916-wcd-analog: fix register Interrupt offset 2020-08-17 12:28:55 +01:00
msm8916-wcd-digital.c
mt6351.c
mt6351.h
mt6358.c
mt6358.h
mt6359.c ASoC: mediatek: mt6359: Fix regulator_dev_lookup() fails for id "LDO_VAUD18" 2020-11-20 13:48:29 +00:00
mt6359.h ASoC: Fix vaud18 power leakage of mt6359 2020-11-10 14:24:45 +00:00
mt6660.c
mt6660.h
nau8315.c ASoC: nau8315: revise the power event of EN_PIN dapm widget for symmetry 2020-11-10 14:30:06 +00:00
nau8540.c
nau8540.h
nau8810.c
nau8810.h
nau8822.c
nau8822.h
nau8824.c
nau8824.h
nau8825.c ASoC: codecs: delete repeated words in comments 2020-08-18 14:52:33 +01:00
nau8825.h
pcm179x-i2c.c ASoC: pcm179x: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:23 +00:00
pcm179x-spi.c
pcm179x.c
pcm179x.h
pcm186x-i2c.c
pcm186x-spi.c
pcm186x.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
pcm186x.h
pcm512x-i2c.c
pcm512x-spi.c
pcm512x.c ASoC: pcm512x: Add support for more data formats 2020-11-16 20:03:25 +00:00
pcm512x.h
pcm1681.c
pcm1789-i2c.c ASoC: pcm1789: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:22 +00:00
pcm1789.c
pcm1789.h
pcm3008.c
pcm3008.h
pcm3060-i2c.c
pcm3060-spi.c
pcm3060.c
pcm3060.h
pcm3168a-i2c.c
pcm3168a-spi.c
pcm3168a.c ASoC: pcm3168a: ignore 0 Hz settings 2020-08-25 18:47:03 +01:00
pcm3168a.h
pcm5102a.c
rk3328_codec.c ASoC: rk3328: mark OF related data as maybe unused 2020-11-26 13:07:02 +00:00
rk3328_codec.h
rl6231.c
rl6231.h
rl6347a.c
rl6347a.h
rt274.c
rt274.h
rt286.c
rt286.h
rt298.c
rt298.h
rt700-sdw.c sound updates for 5.10 2020-10-15 11:07:44 -07:00
rt700-sdw.h
rt700.c ASoC: codecs: rt*.c: remove useless pointer cast 2020-11-12 15:15:52 +00:00
rt700.h
rt711-sdw.c ASoC: rt711: remove warnings 2020-11-12 15:15:53 +00:00
rt711-sdw.h
rt711.c ASoC: codecs: rt*.c: remove useless pointer cast 2020-11-12 15:15:52 +00:00
rt711.h
rt715-sdca-sdw.c ASoC/SoundWire: rt715-sdca: First version of rt715 sdw sdca codec driver 2020-11-26 13:20:00 +00:00
rt715-sdca-sdw.h ASoC/SoundWire: rt715-sdca: First version of rt715 sdw sdca codec driver 2020-11-26 13:20:00 +00:00
rt715-sdca.c ASoC/SoundWire: rt715-sdca: First version of rt715 sdw sdca codec driver 2020-11-26 13:20:00 +00:00
rt715-sdca.h ASoC/SoundWire: rt715-sdca: First version of rt715 sdw sdca codec driver 2020-11-26 13:20:00 +00:00
rt715-sdw.c sound updates for 5.10 2020-10-15 11:07:44 -07:00
rt715-sdw.h
rt715.c ASoC: codecs: rt*.c: remove useless pointer cast 2020-11-12 15:15:52 +00:00
rt715.h ASoC: rt715: remove unused parameter 2020-12-02 15:18:22 +00:00
rt1011.c
rt1011.h
rt1015.c Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.11 2020-11-30 16:05:07 +00:00
rt1015.h Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.11 2020-11-30 16:05:07 +00:00
rt1015p.c ASoC: rt1015p: add codec driver 2020-09-10 12:49:44 +01:00
rt1016.c
rt1016.h
rt1305.c
rt1305.h
rt1308-sdw.c ASoC: codecs: rt*.c: remove useless pointer cast 2020-11-12 15:15:52 +00:00
rt1308-sdw.h
rt1308.c
rt1308.h
rt5514-spi.c
rt5514-spi.h
rt5514.c
rt5514.h
rt5616.c
rt5616.h
rt5631.c
rt5631.h
rt5640.c
rt5640.h
rt5645.c
rt5645.h
rt5651.c
rt5651.h
rt5659.c
rt5659.h
rt5660.c ASoC: rt5660: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:24 +00:00
rt5660.h
rt5663.c
rt5663.h
rt5665.c
rt5665.h
rt5668.c
rt5668.h
rt5670-dsp.h
rt5670.c
rt5670.h
rt5677-spi.c
rt5677-spi.h
rt5677.c
rt5677.h
rt5682-i2c.c ASoC: rt5682: Add a new property for the DMIC clock driving 2020-11-13 14:22:09 +00:00
rt5682-sdw.c ASoC: codecs: rt*.c: remove useless pointer cast 2020-11-12 15:15:52 +00:00
rt5682.c Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.11 2020-11-30 16:05:07 +00:00
rt5682.h ASoC: rt5682: Add a new property for the DMIC clock driving 2020-11-13 14:22:09 +00:00
sgtl5000.c
sgtl5000.h
si476x.c
sigmadsp-i2c.c
sigmadsp-regmap.c
sigmadsp.c
sigmadsp.h
simple-amplifier.c
sirf-audio-codec.c
sirf-audio-codec.h
spdif_receiver.c
spdif_transmitter.c
ssm2305.c
ssm2518.c
ssm2518.h
ssm2602-i2c.c
ssm2602-spi.c
ssm2602.c
ssm2602.h
ssm4567.c
sta32x.c
sta32x.h
sta350.c
sta350.h
sta529.c
stac9766.c
sti-sas.c
tas571x.c ASoC: tas571x: mark OF related data as maybe unused 2020-11-26 13:07:03 +00:00
tas571x.h
tas2552.c
tas2552.h
tas2562.c ASoC: tas2562: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:25 +00:00
tas2562.h
tas2764.c ASoC: tas2764: Add the driver for the TAS2764 2020-10-08 21:16:51 +01:00
tas2764.h ASoC: tas2764: Add the driver for the TAS2764 2020-10-08 21:16:51 +01:00
tas2770.c ASoC: tas2770: Remove unused variables 2020-09-23 18:48:03 +01:00
tas2770.h ASoC: tas2770: Remove unused variables 2020-09-23 18:48:03 +01:00
tas5086.c ASoC: codecs: delete repeated words in comments 2020-08-18 14:52:33 +01:00
tas5720.c
tas5720.h
tas6424.c
tas6424.h
tda7419.c
tfa9879.c
tfa9879.h
tlv320adcx140.c ASoC: tlv320: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:25 +00:00
tlv320adcx140.h ASoC: tlv320adcx140: Add support for configuring GPIO pin 2020-09-18 13:09:02 +01:00
tlv320aic3x.c
tlv320aic3x.h
tlv320aic23-i2c.c ASoC: tlv320: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:25 +00:00
tlv320aic23-spi.c
tlv320aic23.c
tlv320aic23.h
tlv320aic26.c
tlv320aic26.h
tlv320aic31xx.c
tlv320aic31xx.h
tlv320aic32x4-clk.c ASoC: tlv320aic32x4: Ensure a minimum delay before clock stabilization 2020-09-21 22:08:34 +01:00
tlv320aic32x4-i2c.c
tlv320aic32x4-spi.c
tlv320aic32x4.c Merge branch 'asoc-5.9' into asoc-5.10 2020-09-21 22:37:14 +01:00
tlv320aic32x4.h ASoC: tlv320aic32x4: Enable fast charge 2020-09-21 22:08:36 +01:00
tlv320dac33.c
tlv320dac33.h
tpa6130a2.c
tpa6130a2.h
ts3a227e.c ASoC: ts3a227e: skip of_device_id table when !CONFIG_OF 2020-11-26 13:07:26 +00:00
ts3a227e.h
tscs42xx.c ASoC: TSCS42xx: remove unneeded semicolon 2020-11-03 13:19:07 +00:00
tscs42xx.h
tscs454.c ASoC: TSCS454: remove unneeded semicolon 2020-11-03 13:19:03 +00:00
tscs454.h
twl4030.c
twl6040.c
twl6040.h
uda134x.c
uda134x.h
uda1334.c
uda1380.c
uda1380.h
wcd-clsh-v2.c
wcd-clsh-v2.h
wcd934x.c ASoC: codecs: wcd934x: Set digital gain range correctly 2020-10-28 15:57:09 +00:00
wcd9335.c Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.11 2020-11-30 16:05:07 +00:00
wcd9335.h
wl1273.c
wl1273.h
wm0010.c ASoC: codecs: wm0010: use DECLARE_COMPLETION_ONSTACK() macro 2020-08-18 14:52:41 +01:00
wm1250-ev1.c
wm2000.c
wm2000.h
wm2200.c
wm2200.h
wm5100-tables.c
wm5100.c
wm5100.h
wm5102.c ASoC: wm5102: Use get_unaligned_be16() for dac_comp_coeff 2020-10-26 18:37:05 +00:00
wm5102.h
wm5110.c
wm5110.h
wm8350.c ASoC: wm8350: use semicolons rather than commas to separate statements 2020-10-26 15:28:05 +00:00
wm8350.h
wm8400.c
wm8400.h
wm8510.c
wm8510.h
wm8523.c
wm8523.h ASoC: wm8523: Fix a typo in a comment 2020-10-02 21:05:29 +01:00
wm8524.c
wm8580.c
wm8580.h
wm8711.c
wm8711.h
wm8727.c
wm8728.c
wm8728.h
wm8731.c
wm8731.h
wm8737.c
wm8737.h
wm8741.c
wm8741.h
wm8750.c
wm8750.h
wm8753.c
wm8753.h
wm8770.c
wm8770.h
wm8776.c
wm8776.h
wm8782.c
wm8804-i2c.c
wm8804-spi.c
wm8804.c
wm8804.h
wm8900.c
wm8900.h
wm8903.c
wm8903.h
wm8904.c
wm8904.h
wm8940.c
wm8940.h
wm8955.c
wm8955.h
wm8958-dsp2.c ASoC: wm8994: Avoid attempts to read unreadable registers 2020-08-17 12:28:56 +01:00
wm8960.c
wm8960.h
wm8961.c
wm8961.h
wm8962.c ASoC: codecs: Fix fall-through warnings for Clang 2020-11-20 19:28:34 +00:00
wm8962.h
wm8971.c
wm8971.h
wm8974.c
wm8974.h
wm8978.c
wm8978.h
wm8983.c
wm8983.h
wm8985.c
wm8985.h
wm8988.c
wm8988.h
wm8990.c
wm8990.h
wm8991.c
wm8991.h
wm8993.c
wm8993.h
wm8994.c ASoC: wm8994: Fix PM disable depth imbalance on error 2020-11-11 12:35:08 +00:00
wm8994.h
wm8995.c
wm8995.h
wm8996.c
wm8996.h
wm8997.c ASoC: arizona: Fix a wrong free in wm8997_probe 2020-11-12 15:14:37 +00:00
wm8997.h
wm8998.c ASoC: wm8998: Fix PM disable depth imbalance on error 2020-11-11 12:35:09 +00:00
wm8998.h
wm9081.c
wm9081.h
wm9090.c
wm9090.h
wm9705.c
wm9712.c
wm9713.c ASoC: codecs: delete repeated words in comments 2020-08-18 14:52:33 +01:00
wm9713.h
wm_adsp.c ASoC: wm_adsp: fix error return code in wm_adsp_load() 2020-11-25 12:54:03 +00:00
wm_adsp.h
wm_hubs.c ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811 2020-09-01 13:13:16 +01:00
wm_hubs.h ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811 2020-09-01 13:13:16 +01:00
wmfw.h
wsa881x.c Linux 5.10-rc1 2020-10-28 21:36:35 +00:00
zl38060.c
zx_aud96p22.c