Use platform_get_irq as no mapping needs to be done.
By using platform_get_irq, driver can avoid to free IRQ manually
when SSI driver exits.
Signed-off-by: Jiada Wang
---
sound/soc/fsl/fsl_ssi.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/sound/soc/fsl
Hi,
Changes in v2:
- fix error path in probe
- replace irq_of_parse_and_map with platform_get_irq
Changes in v1:
- free IRQ before irq_dispose_mapping
Jiada Wang (2):
ASoC: fsl_ssi: fix error path in probe
ASoC: fsl_ssi: use platform_get_irq instead of
SSI component isn't unregistered if fsl_ssi_debugfs_create() fails
in probe phase.
To fix it, this commit replaces label error_asoc_register with
error_irq.
Signed-off-by: Jiada Wang
---
sound/soc/fsl/fsl_ssi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/so
lete_module) from [<8000ec20>]
(ret_fast_syscall+0x0/0x48)
[ 31.794824] r6:00c46d18 r5:0800 r4:00c46d18
[ 31.799530] ---[ end trace 954e8a3a15379e52 ]---
Moreover replace devm_request_irq() with request_irq() since there is
no need to use it as now driver always frees IRQ ma