diff options
Diffstat (limited to 'drivers/media/video/cx25821/cx25821-video-upstream-ch2.c')
-rw-r--r-- | drivers/media/video/cx25821/cx25821-video-upstream-ch2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c b/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c index 5a157cf4a95e..c8c94fbf5d8d 100644 --- a/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c +++ b/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c | |||
@@ -587,7 +587,7 @@ int cx25821_video_upstream_irq_ch2(struct cx25821_dev *dev, int chan_num, | |||
587 | static irqreturn_t cx25821_upstream_irq_ch2(int irq, void *dev_id) | 587 | static irqreturn_t cx25821_upstream_irq_ch2(int irq, void *dev_id) |
588 | { | 588 | { |
589 | struct cx25821_dev *dev = dev_id; | 589 | struct cx25821_dev *dev = dev_id; |
590 | u32 msk_stat, vid_status; | 590 | u32 vid_status; |
591 | int handled = 0; | 591 | int handled = 0; |
592 | int channel_num = 0; | 592 | int channel_num = 0; |
593 | struct sram_channel *sram_ch; | 593 | struct sram_channel *sram_ch; |
@@ -598,7 +598,6 @@ static irqreturn_t cx25821_upstream_irq_ch2(int irq, void *dev_id) | |||
598 | channel_num = VID_UPSTREAM_SRAM_CHANNEL_J; | 598 | channel_num = VID_UPSTREAM_SRAM_CHANNEL_J; |
599 | sram_ch = dev->channels[channel_num].sram_channels; | 599 | sram_ch = dev->channels[channel_num].sram_channels; |
600 | 600 | ||
601 | msk_stat = cx_read(sram_ch->int_mstat); | ||
602 | vid_status = cx_read(sram_ch->int_stat); | 601 | vid_status = cx_read(sram_ch->int_stat); |
603 | 602 | ||
604 | /* Only deal with our interrupt */ | 603 | /* Only deal with our interrupt */ |