Commit 14d5d454 authored by Weidong Wang's avatar Weidong Wang Committed by Mark Brown

ASoC: codecs: Modify the log print statement

Change hdrlen to hdr_len
Signed-off-by: default avatarBen Yi <yijiangtao@awinic.com>
Signed-off-by: default avatarWeidong Wang <wangweidong.a@awinic.com>
Link: https://lore.kernel.org/r/20230213093649.22928-3-wangweidong.a@awinic.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 27db41a1
......@@ -932,7 +932,7 @@ static int aw_dev_check_cfg_by_hdr(struct aw_device *aw_dev, struct aw_container
hdr_ddt_len = cfg_hdr->hdr_offset + cfg_hdr->ddt_size;
if (hdr_ddt_len > aw_cfg->len) {
dev_err(aw_dev->dev, "hdrlen with ddt_len [%d] overflow file size[%d]",
dev_err(aw_dev->dev, "hdr_len with ddt_len [%d] overflow file size[%d]",
cfg_hdr->hdr_offset, aw_cfg->len);
return -EINVAL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment