|
@@ -315,7 +315,8 @@ static int goldfish_audio_probe(struct platform_device *pdev)
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
data->buffer_virt = dmam_alloc_coherent(&pdev->dev,
|
|
|
- COMBINED_BUFFER_SIZE, &buf_addr, GFP_KERNEL);
|
|
|
+ COMBINED_BUFFER_SIZE,
|
|
|
+ &buf_addr, GFP_KERNEL);
|
|
|
if (!data->buffer_virt) {
|
|
|
dev_err(&pdev->dev, "allocate buffer failed\n");
|
|
|
return -ENOMEM;
|