ASoC: soc-core: Ensure codec_reg has fixed length fields
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 1 Feb 2011 12:24:08 +0000 (12:24 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 1 Feb 2011 14:26:11 +0000 (14:26 +0000)
commit2bc9a81e2aa3c95b1e709f3109c3bbc6d969cc06
tree59f4ce4b3f5b437a109893e597e438505b426ec2
parent2cfec93fecc086c5af3c58ad15b7841f36af205c
ASoC: soc-core: Ensure codec_reg has fixed length fields

Make the format of the codec_reg file more easily parsable.  Remove
the header field which gives the codec name.  These changes are important
when it comes to extend the debugfs codec_reg file to dump more than
PAGE_SIZE bytes to make it easier to calculate offsets within the
file.

We still need to handle the case when the snd_soc_read() call fails
and <no data: %d> is outputted.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c