]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] af9033: continue polling unless critical IO error
authorAntti Palosaari <crope@iki.fi>
Tue, 4 Nov 2014 01:01:56 +0000 (22:01 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 4 Nov 2014 20:21:12 +0000 (18:21 -0200)
That case is not IO error, so better to jump out now, but still
continue polling.

Cc: Bimow Chen <Bimow.Chen@ite.com.tw>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/af9033.c

index e640701562476c85673ca5e6d7f92d32ba4e60a2..c17e34fd0fb424571a0b6d10d6ce1bfc03a5631b 100644 (file)
@@ -1103,7 +1103,7 @@ static void af9033_stat_work(struct work_struct *work)
                        snr_val *= 2;
                        break;
                default:
-                       goto err;
+                       goto err_schedule_delayed_work;
                }
 
                /* read current modulation */