OSDN Git Service

ASoC: hdmi-codec: Use different name for playback streams
authorJeffy Chen <jeffy.chen@rock-chips.com>
Sat, 12 Aug 2017 00:40:38 +0000 (08:40 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 30 Aug 2017 18:01:07 +0000 (19:01 +0100)
commit943fa0228252320de503b923dfe46334f755aaae
tree752ede67b364112b395249d1199e25538976aae0
parent3013c75fadc581160be8d89c2c0f29219971c58f
ASoC: hdmi-codec: Use different name for playback streams

Currently the hdmi i2s playback stream and hdmi spdif playback stream
are using the same name. So when they are enabled at the same time,
kernel will print this warning:

[    2.201835] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: Failed to
create Playback debugfs file

Assign different names to them to avoid that.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c