mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
be4f6e6ce6
commit
c04d3e20e2
1 changed files with 0 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue