diff options
author | Douglas Schilling Landgraf <dougsland@redhat.com> | 2009-06-10 23:17:27 -0300 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@redhat.com> | 2009-06-10 23:17:27 -0300 |
commit | f708b2952b9d0de978b0e0cf51d8e0a80c8fb2d9 (patch) | |
tree | 92dceb95f34fcfc0cc69758a9f99a84bfb567c83 /linux/drivers | |
parent | 7ef1e386396d4ebc645310511099bf2526e519c4 (diff) | |
download | mediapointer-dvb-s2-f708b2952b9d0de978b0e0cf51d8e0a80c8fb2d9.tar.gz mediapointer-dvb-s2-f708b2952b9d0de978b0e0cf51d8e0a80c8fb2d9.tar.bz2 |
V4L: return -ENOMEM
From: Figo.zhang <figo1802@gmail.com>
it is better return -ENOMEM than -EIO
Priority: normal
Signed-off-by: Figo.zhang <figo1802@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/videobuf-dma-sg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/videobuf-dma-sg.c b/linux/drivers/media/video/videobuf-dma-sg.c index 623e2fc12..da83ac706 100644 --- a/linux/drivers/media/video/videobuf-dma-sg.c +++ b/linux/drivers/media/video/videobuf-dma-sg.c @@ -253,7 +253,7 @@ int videobuf_dma_map(struct videobuf_queue* q, struct videobuf_dmabuf *dma) vfree(dma->sglist); dma->sglist = NULL; dma->sglen = 0; - return -EIO; + return -ENOMEM; } } return 0; |