V4L/DVB (3429): Missing break statement on tuner-core
authorMarkus Rechberger <mrechberger@gmail.com>
Mon, 23 Jan 2006 11:58:32 +0000 (09:58 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 23 Jan 2006 19:06:29 +0000 (17:06 -0200)
- default_tuner_init was called twice due to a missing break statement.

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Acked-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-core.c

index 2995b22acb4354728c93fa2af5e07bfb1ab56846..e6bcd4b39741ee5522c5ab7d35acc4fe1289f185 100644 (file)
@@ -216,6 +216,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
                buffer[3] = 0xa4;
                i2c_master_send(c,buffer,4);
                default_tuner_init(c);
+               break;
        default:
                default_tuner_init(c);
                break;