diff options
author | Steven Toth <stoth@hauppauge.com> | 2007-09-06 14:50:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:14:28 -0400 |
commit | bfde287c2f8f0fe4e50e0eb136e4dca6b0ed84dc (patch) | |
tree | 9063be7cda0bd13d889934b74946c3341103e822 | |
parent | fc959befe0f0e4647bb4e326e3ae55875401888a (diff) |
V4L/DVB (6191): Removed a redundant switch()
The switch() statement is no longer required.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index 13dc7c8642ca..f5b73c4b625e 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c | |||
@@ -1025,18 +1025,7 @@ static int cx23885_start_dma(struct cx23885_tsport *port, | |||
1025 | 1025 | ||
1026 | cx_write(port->reg_hw_sop_ctrl, 0x47 << 16 | 188 << 4); | 1026 | cx_write(port->reg_hw_sop_ctrl, 0x47 << 16 | 188 << 4); |
1027 | cx_write(port->reg_ts_clk_en, port->ts_clk_en_val); | 1027 | cx_write(port->reg_ts_clk_en, port->ts_clk_en_val); |
1028 | 1028 | cx_write(port->reg_vld_misc, 0x00); | |
1029 | switch (dev->board) { | ||
1030 | case CX23885_BOARD_HAUPPAUGE_HVR1250: | ||
1031 | case CX23885_BOARD_HAUPPAUGE_HVR1800lp: | ||
1032 | case CX23885_BOARD_HAUPPAUGE_HVR1800: | ||
1033 | cx_write(port->reg_vld_misc, 0x00); | ||
1034 | dprintk(1, "%s() Configuring HVR1800/lp/1500 board\n", | ||
1035 | __FUNCTION__); | ||
1036 | break; | ||
1037 | default: | ||
1038 | printk(KERN_ERR "%s() error, default case", __FUNCTION__ ); | ||
1039 | } | ||
1040 | 1029 | ||
1041 | cx_write(port->reg_gen_ctrl, port->gen_ctrl_val); | 1030 | cx_write(port->reg_gen_ctrl, port->gen_ctrl_val); |
1042 | udelay(100); | 1031 | udelay(100); |