dbri: check dma_alloc_coherent errors

Needs to check for dma_alloc_coherent() allocation failure.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by FUJITA Tomonori and committed by David S. Miller be376649 1758ef68

+2
+2
sound/sparc/dbri.c
··· 2534 2534 dbri->dma = dma_alloc_coherent(&op->dev, 2535 2535 sizeof(struct dbri_dma), 2536 2536 &dbri->dma_dvma, GFP_ATOMIC); 2537 + if (!dbri->dma) 2538 + return -ENOMEM; 2537 2539 memset((void *)dbri->dma, 0, sizeof(struct dbri_dma)); 2538 2540 2539 2541 dprintk(D_GEN, "DMA Cmd Block 0x%p (0x%08x)\n",