ASoC: use seq_file to dump the contents of dai_list,platform_list and codec_list
authorDonglin Peng <dolinux.peng@gmail.com>
Thu, 18 Jan 2018 05:31:26 +0000 (13:31 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 18 Jan 2018 11:52:23 +0000 (11:52 +0000)
commit700c17ca8968f473631594e8a7c2cc880ba2c891
tree3034045cf065a50052fd6e533e6318e371d93d02
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: use seq_file to dump the contents of dai_list,platform_list and codec_list

Now the debugfs files dais/platforms/codecs have a size limit PAGE_SIZE and
the user can not see the whole contents of dai_list/platform_list/codec_list
when they are larger than this limit.

This patch uses seq_file instead to make sure dais/platforms/codecs show the
full contents of dai_list/platform_list/codec_list.

Signed-off-by: Donglin Peng <dolinux.peng@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c