linux-stable/sound/soc/amd
Pierre-Louis Bossart 2711a2d993
ASoC: amd: renoir: acp3x-pdm-dma: remove unnecessary assignments
cppcheck warning:

sound/soc/amd/renoir/acp3x-pdm-dma.c:132:17: style: Variable
'pdm_dma_enable' is assigned a value that is never
used. [unreadVariable]
 pdm_dma_enable = 0x00;
                ^
sound/soc/amd/renoir/acp3x-pdm-dma.c:156:18: style: Variable
'pdm_dma_enable' is assigned a value that is never
used. [unreadVariable]
  pdm_dma_enable = 0x00;
                 ^

indeed those values are never used because the timeout is reset.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210326215927.936377-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-31 18:03:14 +01:00
..
include
raven ASoC: amd: Replacing MSI with Legacy IRQ model 2020-12-28 14:22:27 +00:00
renoir ASoC: amd: renoir: acp3x-pdm-dma: remove unnecessary assignments 2021-03-31 18:03:14 +01:00
acp-da7219-max98357a.c ASoC: amd: update spdx license for acp machine driver 2021-03-29 17:28:14 +01:00
acp-pcm-dma.c ASoC: amd: use asoc_substream_to_rtd() 2020-07-23 19:07:30 +01:00
acp-rt5645.c ASoC: amd: use asoc_substream_to_rtd() 2020-07-23 19:07:30 +01:00
acp.h ASoC: use DMA addr rather than CPU pa for acp_audio_dma 2018-12-06 12:53:04 +00:00
acp3x-rt5682-max9836.c ASoC: rt1015: remove bclk_ratio 2021-01-05 14:34:18 +00:00
Kconfig ASoC: amd: fix acpi dependency kernel warning 2021-03-29 17:28:15 +01:00
Makefile ASoC: amd: enable Renoir acp3x drivers build 2020-05-19 13:45:34 +01:00