[alsa-devel] [PATCH] ASoC: Intel: atom: Add debug information related to FW version

Mark Brown broonie at kernel.org
Fri Oct 28 18:33:44 CEST 2016


On Fri, Oct 28, 2016 at 04:32:50PM +0200, Sebastien Guiriec wrote:

> +	dev_info(sst_drv_ctx->dev, "FW Version %02x.%02x.%02x.%02x\n",
> +			init->fw_version.type, init->fw_version.major,
> +			init->fw_version.minor, init->fw_version.build);
> +	dev_dbg(sst_drv_ctx->dev, "Build date %s Time %s\n",
> +			init->build_info.date, init->build_info.time);

Seems like an odd mix of info/dbg but whatever.  I'd also recommend
adding sysfs or at least debugfs files exposing this information, that
way you can still get at it even if the kernel log has been filled with
other things.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161028/9a886b05/attachment-0001.sig>


More information about the Alsa-devel mailing list