From: Mauro Carvalho Chehab Date: Thu, 5 Jan 2012 13:24:41 +0000 (-0200) Subject: [media] dvb_frontend: regression fix: add a missing inc inside the loop X-Git-Tag: v3.3-rc1~48^2~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c4b78cbe64fad1c7a561d22014842f8eafbda47;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [media] dvb_frontend: regression fix: add a missing inc inside the loop without it, the loop will run forever! Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 678e329..cd3c0f6 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -1481,6 +1481,7 @@ static int set_delivery_system(struct dvb_frontend *fe, u32 desired_system) __func__, desired_system); return 0; } + ncaps++; } type = dvbv3_type(desired_system);