File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ int asoc_qcom_lpass_cpu_platform_probe(struct platform_device *pdev)
575
575
576
576
of_lpass_cpu_parse_dai_data (dev , drvdata );
577
577
578
- res = platform_get_resource (pdev , IORESOURCE_MEM , 0 );
578
+ res = platform_get_resource_byname (pdev , IORESOURCE_MEM , "lpass-lpaif" );
579
579
580
580
drvdata -> lpaif = devm_ioremap_resource (dev , res );
581
581
if (IS_ERR ((void const __force * )drvdata -> lpaif )) {
Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ int asoc_qcom_lpass_platform_register(struct platform_device *pdev)
621
621
struct lpass_variant * v = drvdata -> variant ;
622
622
int ret ;
623
623
624
- drvdata -> lpaif_irq = platform_get_irq (pdev , 0 );
624
+ drvdata -> lpaif_irq = platform_get_irq_byname (pdev , "lpass-irq-lpaif" );
625
625
if (drvdata -> lpaif_irq < 0 )
626
626
return - ENODEV ;
627
627
You can’t perform that action at this time.
0 commit comments