[media] s5p-mfc: Add NULL check for allocated buffer
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 29 May 2013 03:10:00 +0000 (00:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 3 Jun 2013 18:57:09 +0000 (15:57 -0300)
In certain cases, dma_alloc_coherent returns NULL. Add check for
NULL pointer.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found