Skip to content

Commit

Permalink
V4L/DVB (12809): tm6000: Remove an old hack
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed May 18, 2010
1 parent 5200401 commit 2c9a95b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/tm6000/tm6000-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
#include <media/v4l2-common.h>
#include <media/tuner.h>

#ifdef HACK /* HACK */
#include "tm6000-hack.c"
#endif

#define USB_TIMEOUT 5*HZ /* ms */

int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
Expand Down Expand Up @@ -313,11 +309,6 @@ int tm6000_init (struct tm6000_core *dev)
{
int board, rc=0, i;

#ifdef HACK /* HACK */
init_tm6000(dev);
return 0;
#else

/* Load board's initialization table */
for (i=0; i< ARRAY_SIZE(init_tab); i++) {
rc= tm6000_set_reg (dev, REQ_07_SET_GET_AVREG,
Expand Down Expand Up @@ -375,8 +366,6 @@ int tm6000_init (struct tm6000_core *dev)

msleep(50);

#endif /* HACK */

return 0;
}

Expand Down

0 comments on commit 2c9a95b

Please sign in to comment.