aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/usb/airspy/airspy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c
index 56a1ae05ea7b..dee1fe2669a6 100644
--- a/drivers/media/usb/airspy/airspy.c
+++ b/drivers/media/usb/airspy/airspy.c
@@ -255,6 +255,7 @@ static unsigned int airspy_convert_stream(struct airspy *s,
255 if (unlikely(time_is_before_jiffies(s->jiffies_next))) { 255 if (unlikely(time_is_before_jiffies(s->jiffies_next))) {
256 #define MSECS 10000UL 256 #define MSECS 10000UL
257 unsigned int samples = s->sample - s->sample_measured; 257 unsigned int samples = s->sample - s->sample_measured;
258
258 s->jiffies_next = jiffies + msecs_to_jiffies(MSECS); 259 s->jiffies_next = jiffies + msecs_to_jiffies(MSECS);
259 s->sample_measured = s->sample; 260 s->sample_measured = s->sample;
260 dev_dbg(&s->udev->dev, 261 dev_dbg(&s->udev->dev,
@@ -462,6 +463,7 @@ static void airspy_cleanup_queued_bufs(struct airspy *s)
462 spin_lock_irqsave(&s->queued_bufs_lock, flags); 463 spin_lock_irqsave(&s->queued_bufs_lock, flags);
463 while (!list_empty(&s->queued_bufs)) { 464 while (!list_empty(&s->queued_bufs)) {
464 struct airspy_frame_buf *buf; 465 struct airspy_frame_buf *buf;
466
465 buf = list_entry(s->queued_bufs.next, 467 buf = list_entry(s->queued_bufs.next,
466 struct airspy_frame_buf, list); 468 struct airspy_frame_buf, list);
467 list_del(&buf->list); 469 list_del(&buf->list);
@@ -772,6 +774,7 @@ static int airspy_g_frequency(struct file *file, void *priv,
772{ 774{
773 struct airspy *s = video_drvdata(file); 775 struct airspy *s = video_drvdata(file);
774 int ret = 0; 776 int ret = 0;
777
775 dev_dbg(&s->udev->dev, "%s: tuner=%d type=%d\n", 778 dev_dbg(&s->udev->dev, "%s: tuner=%d type=%d\n",
776 __func__, f->tuner, f->type); 779 __func__, f->tuner, f->type);
777 780
@@ -829,6 +832,7 @@ static int airspy_enum_freq_bands(struct file *file, void *priv,
829{ 832{
830 struct airspy *s = video_drvdata(file); 833 struct airspy *s = video_drvdata(file);
831 int ret; 834 int ret;
835
832 dev_dbg(&s->udev->dev, "%s: tuner=%d type=%d index=%d\n", 836 dev_dbg(&s->udev->dev, "%s: tuner=%d type=%d index=%d\n",
833 __func__, band->tuner, band->type, band->index); 837 __func__, band->tuner, band->type, band->index);
834 838