Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236454
b: refs/heads/master
c: b009178
h: refs/heads/master
v: v3
  • Loading branch information
Ilia Mirkin authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent b51f2a9 commit fb10cfc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4e1f289be88a75dc8b63d50ade1f9a2e6168021
refs/heads/master: b00917802bda6eba09125e8b4d273339188f9bad
9 changes: 3 additions & 6 deletions trunk/drivers/staging/cx25821/cx25821-audio-upstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,10 @@ void cx25821_stop_upstream_audio(struct cx25821_dev *dev)
dev->_audioframe_count = 0;
dev->_audiofile_status = END_OF_FILE;

if (dev->_irq_audio_queues) {
kfree(dev->_irq_audio_queues);
dev->_irq_audio_queues = NULL;
}
kfree(dev->_irq_audio_queues);
dev->_irq_audio_queues = NULL;

if (dev->_audiofilename != NULL)
kfree(dev->_audiofilename);
kfree(dev->_audiofilename);
}

void cx25821_free_mem_upstream_audio(struct cx25821_dev *dev)
Expand Down
9 changes: 3 additions & 6 deletions trunk/drivers/staging/cx25821/cx25821-video-upstream-ch2.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,10 @@ void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev)
dev->_frame_count_ch2 = 0;
dev->_file_status_ch2 = END_OF_FILE;

if (dev->_irq_queues_ch2) {
kfree(dev->_irq_queues_ch2);
dev->_irq_queues_ch2 = NULL;
}
kfree(dev->_irq_queues_ch2);
dev->_irq_queues_ch2 = NULL;

if (dev->_filename_ch2 != NULL)
kfree(dev->_filename_ch2);
kfree(dev->_filename_ch2);

tmp = cx_read(VID_CH_MODE_SEL);
cx_write(VID_CH_MODE_SEL, tmp & 0xFFFFFE00);
Expand Down
9 changes: 3 additions & 6 deletions trunk/drivers/staging/cx25821/cx25821-video-upstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,10 @@ void cx25821_stop_upstream_video_ch1(struct cx25821_dev *dev)
dev->_frame_count = 0;
dev->_file_status = END_OF_FILE;

if (dev->_irq_queues) {
kfree(dev->_irq_queues);
dev->_irq_queues = NULL;
}
kfree(dev->_irq_queues);
dev->_irq_queues = NULL;

if (dev->_filename != NULL)
kfree(dev->_filename);
kfree(dev->_filename);

tmp = cx_read(VID_CH_MODE_SEL);
cx_write(VID_CH_MODE_SEL, tmp & 0xFFFFFE00);
Expand Down

0 comments on commit fb10cfc

Please sign in to comment.