diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-22 09:24:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-04-13 09:52:16 -0300 |
commit | 62a79436a54e5f33920bf95a3fae677540c7ef2c (patch) | |
tree | a64acd9dee7b3bc54142a77860a12c9b01995751 /drivers/media/video/gspca/sn9c2028.h | |
parent | 0f890ab1b51a5e59f078f046229825076d1e3c77 (diff) |
[media] videobuf2: fix core to correctly identify allocation failures
The videobuf2-dma-contig allocator returns an ERR_PTR() on failure, not
a NULL like all other allocators. Fix videobuf2-core to also correctly
recognise those failures.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sn9c2028.h')
0 files changed, 0 insertions, 0 deletions