aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/si470x/radio-si470x-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x-common.c')
-rw-r--r--drivers/media/radio/si470x/radio-si470x-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c
index 74a5c901471f..18989388ddc1 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -708,6 +708,9 @@ static int si470x_vidioc_s_hw_freq_seek(struct file *file, void *priv,
708 if (seek->tuner != 0) 708 if (seek->tuner != 0)
709 return -EINVAL; 709 return -EINVAL;
710 710
711 if (file->f_flags & O_NONBLOCK)
712 return -EWOULDBLOCK;
713
711 return si470x_set_seek(radio, seek); 714 return si470x_set_seek(radio, seek);
712} 715}
713 716