aw869xx: keep using default device name

if we set the device name, It would block the firmware downloading.
the reason is that the expected path is not correct.

Change-Id: I71244fab069c779842d9d3e9883fa30d0da9647a
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1776191
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
This commit is contained in:
huangys 2020-10-16 16:08:19 +08:00 • committed by Yuesheng Huang
commit c04d3e20e2

View file

@ -4251,12 +4251,6 @@ static int aw869xx_i2c_probe(struct i2c_client *i2c,
goto err_qualify;
}
/* aw869xx device name */
if (i2c->dev.of_node)
dev_set_name(&i2c->dev, "%s", AW869XX_DEV_NAME);
else
aw_dev_err(&i2c->dev, "%s failed to set device name: %d\n",
__func__, ret);
/* register codec */
dai = devm_kzalloc(&i2c->dev, sizeof(aw869xx_dai), GFP_KERNEL);
if (!dai)