@@ -325,8 +325,8 @@ static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach
num_ssps = adev->hw_cfg.i2s_caps.ctrl_count;
if (fls(mach->mach_params.i2s_link_mask) > num_ssps) {
- dev_err(adev->dev, "Platform supports %d SSPs but board %s requires SSP%ld\n",
- num_ssps, mach->drv_name, __fls(mach->mach_params.i2s_link_mask));
+ dev_err(adev->dev, "Platform supports %d SSPs but board %s requires SSP%d\n",
+ num_ssps, mach->drv_name, fls(mach->mach_params.i2s_link_mask));
return -ENODEV;
}