提交 bfde287c 编写于 作者: S Steven Toth 提交者: Mauro Carvalho Chehab

V4L/DVB (6191): Removed a redundant switch()

The switch() statement is no longer required.
Signed-off-by: NSteven Toth <stoth@hauppauge.com>
Reviewed-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 fc959bef
......@@ -1025,18 +1025,7 @@ static int cx23885_start_dma(struct cx23885_tsport *port,
cx_write(port->reg_hw_sop_ctrl, 0x47 << 16 | 188 << 4);
cx_write(port->reg_ts_clk_en, port->ts_clk_en_val);
switch (dev->board) {
case CX23885_BOARD_HAUPPAUGE_HVR1250:
case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
case CX23885_BOARD_HAUPPAUGE_HVR1800:
cx_write(port->reg_vld_misc, 0x00);
dprintk(1, "%s() Configuring HVR1800/lp/1500 board\n",
__FUNCTION__);
break;
default:
printk(KERN_ERR "%s() error, default case", __FUNCTION__ );
}
cx_write(port->reg_vld_misc, 0x00);
cx_write(port->reg_gen_ctrl, port->gen_ctrl_val);
udelay(100);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册