[alsa-devel] [PATCH] ASoC: Push snd_soc_write() and snd_soc_read() into the source file
Dimitris Papastamos
dp at opensource.wolfsonmicro.com
Wed Nov 3 14:51:48 CET 2010
On Mon, 2010-11-01 at 15:44 -0400, Mark Brown wrote:
> +unsigned int snd_soc_write(struct snd_soc_codec *codec,
> + unsigned int reg, unsigned int val)
> +{
> + dev_dbg(codec->dev, "write %x = %x\n", reg, val);
> + return codec->driver->write(codec, reg, val);
> +}
> +EXPORT_SYMBOL_GPL(snd_soc_write);
This sort of debugging output is already present in soc-cache.c. I
guess it should be removed from soc-cache.c since it is duplicated
across all different write() I/O types.
Thanks,
Dimitrios
More information about the Alsa-devel
mailing list