Skip to content

Commit

Permalink
ASoC: codecs: Modify the log print statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Weidong Wang authored and Mark Brown committed Feb 13, 2023
1 parent 27db41a commit 14d5d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/aw88395/aw88395_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 14d5d45

Please sign in to comment.