MLK-21627: ASoC: imx-pcm-dma-v2: add debugfs_prefix for platform
authorShengjiu Wang <shengjiu.wang@nxp.com>
Sun, 5 May 2019 09:07:48 +0000 (17:07 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 6 May 2019 07:51:41 +0000 (15:51 +0800)
commit42f5a2090ff13e770eaccd6d53635fe168ad6528
tree103e3ba0b952dae5fc1bc63dbdf18e6db60600b5
parenta2af152e21d9ed1f28eee7ad4d5222f97baf4850
MLK-21627: ASoC: imx-pcm-dma-v2: add debugfs_prefix for platform

There is warning log after switching to component in driver:

[ 3.321645] fsl-sai 30030000.sai: ASoC: Failed to create component debugfs directory

The reason is there is two component attached with one device,
the components' name are same, then creating debugfs for second
component failed.

This patch is to add debugfs_prefix for platform component to fix
the warning issue.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
sound/soc/fsl/imx-pcm-dma-v2.c