|
@@ -376,10 +376,8 @@ static int snd_mfld_mc_probe(struct platform_device *pdev)
|
|
|
/* audio interrupt base of SRAM location where
|
|
|
* interrupts are stored by System FW */
|
|
|
mc_drv_ctx = devm_kzalloc(&pdev->dev, sizeof(*mc_drv_ctx), GFP_ATOMIC);
|
|
|
- if (!mc_drv_ctx) {
|
|
|
- pr_err("allocation failed\n");
|
|
|
+ if (!mc_drv_ctx)
|
|
|
return -ENOMEM;
|
|
|
- }
|
|
|
|
|
|
irq_mem = platform_get_resource_byname(
|
|
|
pdev, IORESOURCE_MEM, "IRQ_BASE");
|