[alsa-devel] [PATCH v6 03/14] ASoC: SOF: Add driver debug support.

Mark Brown broonie at kernel.org
Fri Apr 19 17:54:58 CEST 2019


On Fri, Apr 12, 2019 at 11:05:08AM -0500, Pierre-Louis Bossart wrote:

> +		if (pm_runtime_active(sdev->dev) ||
> +		    dfse->access_type == SOF_DEBUGFS_ACCESS_ALWAYS) {
> +			memcpy_fromio(buf, dfse->io_mem + pos, size);
> +		} else {
> +			dev_info(sdev->dev,
> +				 "Copying cached debugfs data\n");
> +			memcpy(buf, dfse->cache_buf + pos, size);
> +		}

Might this get a bit noisy if we start hitting the info case?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190419/cd827c36/attachment.sig>


More information about the Alsa-devel mailing list