ASoC: codecs: Modify the log print statement

Change hdrlen to hdr_len

Signed-off-by: Ben Yi <yijiangtao@awinic.com>
Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
Link: https://lore.kernel.org/r/20230213093649.22928-3-wangweidong.a@awinic.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Weidong Wang 2023-02-13 17:36:48 +08:00 committed by Mark Brown
parent 27db41a1f7
commit 14d5d45454
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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;
}