]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: spdif: Fix DMA filter initialization
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 2 Nov 2016 11:03:03 +0000 (12:03 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 2 Nov 2016 15:15:27 +0000 (09:15 -0600)
commit6570e192ebaa85b468d905b1fe9a5036a8c0d821
tree87f3e0b141d6bce3654ee0f3bc907e5d8cedb845
parent6956384c1790f250ede47c0898dda9f978ec1d15
ASoC: samsung: spdif: Fix DMA filter initialization

This patch fixes issues introduced in commit 6956384c1790f250ede47c08
"ASoC: samsung: get access to DMA engine early to defer probe properly"
and indicated by a following compilation warning:

  CC [M]  sound/soc/samsung/spdif.o
sound/soc/samsung/spdif.c: In function ‘spdif_probe’:
sound/soc/samsung/spdif.c:419:6: warning: ‘filter’ may be used uninitialized
in this function [-Wuninitialized]

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/spdif.c