diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-01 12:31:12 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-01 12:31:12 +0200 |
commit | ea036ab76194bc4f02dbb0803e4d977044636188 (patch) | |
tree | 1902d1b83ee3a302c5fdfec4de2ae8e2d1506ac8 /linux/drivers/media/video/cx18/cx18-streams.h | |
parent | 778ea1f1dd0cb7da18e5e0258f9c443f8debafe4 (diff) | |
download | mediapointer-dvb-s2-ea036ab76194bc4f02dbb0803e4d977044636188.tar.gz mediapointer-dvb-s2-ea036ab76194bc4f02dbb0803e4d977044636188.tar.bz2 |
cx18/ivtv: improve and fix out-of-memory handling
From: Hans Verkuil <hverkuil@xs4all.nl>
- don't show kernel backtrace when the allocation of the buffers fails: the
normal ivtv/cx18 messages are clear enough and the backtrace scares users.
- fix cleanup after the buffer allocation fails (caused kernel panic).
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-streams.h')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-streams.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-streams.h b/linux/drivers/media/video/cx18/cx18-streams.h index 8c7ba7d2f..f327e947b 100644 --- a/linux/drivers/media/video/cx18/cx18-streams.h +++ b/linux/drivers/media/video/cx18/cx18-streams.h @@ -24,7 +24,7 @@ u32 cx18_find_handle(struct cx18 *cx); int cx18_streams_setup(struct cx18 *cx); int cx18_streams_register(struct cx18 *cx); -void cx18_streams_cleanup(struct cx18 *cx); +void cx18_streams_cleanup(struct cx18 *cx, int unregister); /* Capture related */ int cx18_start_v4l2_encode_stream(struct cx18_stream *s); |