[media] solo6x10: check dma_map_sg() return value
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 15 Feb 2014 12:15:53 +0000 (09:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 14:57:32 +0000 (11:57 -0300)
commitc5b250ad3593656811c31a1d480745270b47658b
tree4955651b805b80787d2918521bce95b3c0135597
parent761f9aa23f2ac187aa1bed58215f09f3c8456295
[media] solo6x10: check dma_map_sg() return value

The dma_map_sg() function can fail, so check for the return value.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c