[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)
commitd1c1cc664342cf197afeea4b0dd8145d1edee35c
tree0c461e70838dcc91e349134ff9dcd061d540d77c
parent4130eabc55f4d4d1510d2e1c556fe3e0237c5ba5
[media] s5p-mfc: Add NULL check for allocated buffer

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>
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c