OSDN Git Service

[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 e640701..c17e34f 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 */