aboutsummaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/i2c')
-rw-r--r--sound/i2c/other/tea575x-tuner.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/i2c/other/tea575x-tuner.c b/sound/i2c/other/tea575x-tuner.c
index 4a8fad674f02..3c6c1e3226f3 100644
--- a/sound/i2c/other/tea575x-tuner.c
+++ b/sound/i2c/other/tea575x-tuner.c
@@ -368,6 +368,9 @@ static int vidioc_s_hw_freq_seek(struct file *file, void *fh,
368 if (a->tuner || a->wrap_around) 368 if (a->tuner || a->wrap_around)
369 return -EINVAL; 369 return -EINVAL;
370 370
371 if (file->f_flags & O_NONBLOCK)
372 return -EWOULDBLOCK;
373
371 if (a->rangelow || a->rangehigh) { 374 if (a->rangelow || a->rangehigh) {
372 for (i = 0; i < ARRAY_SIZE(bands); i++) { 375 for (i = 0; i < ARRAY_SIZE(bands); i++) {
373 if ((i == BAND_FM && tea->tea5759) || 376 if ((i == BAND_FM && tea->tea5759) ||