]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cx2072x: Fix doubly definitions of Playback and Capture streams
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Dec 2020 13:51:54 +0000 (14:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Dec 2020 14:20:36 +0000 (14:20 +0000)
commitf00705c0f6a5282b5136e6025d5e07ac1b94c288
treef038cbbef32b27f9c6a970cd2775fe623ce088db
parent1e211bf69c73b525f63388d2106da7656afdd07a
ASoC: cx2072x: Fix doubly definitions of Playback and Capture streams

The cx2072x codec driver defines multiple DAIs with the same stream
name "Playback" and "Capture".  Although the current code works more
or less as is as the secondary streams are never used, it still leads
the error message like:
 debugfs: File 'Playback' in directory 'dapm' already present!
 debugfs: File 'Capture' in directory 'dapm' already present!

Fix it by renaming the secondary streams to unique names.

Fixes: 43b67062e93e ("ASoC: Add support for Conexant CX2072X CODEC")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20201208135154.9188-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cx2072x.c