Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285569
b: refs/heads/master
c: 6e07d5c
h: refs/heads/master
i:
  285567: c7b9c12
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent cc047b2 commit 3c0c862
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 955c41c09c9c1535b9c7bfb99f63e9a98ba29362
refs/heads/master: 6e07d5c52d11496a50d82a69a018c013139f5d07
25 changes: 4 additions & 21 deletions trunk/drivers/media/dvb/dvb-usb/gp8psk-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,28 +113,12 @@ static int gp8psk_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_front
return 0;
}

static int gp8psk_fe_set_property(struct dvb_frontend *fe,
struct dtv_property *tvp)
{
deb_fe("%s(..)\n", __func__);
return 0;
}

static int gp8psk_fe_get_property(struct dvb_frontend *fe,
struct dtv_property *tvp)
{
deb_fe("%s(..)\n", __func__);
return 0;
}


static int gp8psk_fe_set_frontend(struct dvb_frontend* fe,
struct dvb_frontend_parameters *fep)
static int gp8psk_fe_set_frontend(struct dvb_frontend *fe)
{
struct gp8psk_fe_state *state = fe->demodulator_priv;
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
u8 cmd[10];
u32 freq = fep->frequency * 1000;
u32 freq = c->frequency * 1000;
int gp_product_id = le16_to_cpu(state->d->udev->descriptor.idProduct);

deb_fe("%s()\n", __func__);
Expand Down Expand Up @@ -342,6 +326,7 @@ struct dvb_frontend * gp8psk_fe_attach(struct dvb_usb_device *d)


static struct dvb_frontend_ops gp8psk_fe_ops = {
.delsys = { SYS_DVBS },
.info = {
.name = "Genpix DVB-S",
.type = FE_QPSK,
Expand All @@ -366,9 +351,7 @@ static struct dvb_frontend_ops gp8psk_fe_ops = {
.init = NULL,
.sleep = NULL,

.set_property = gp8psk_fe_set_property,
.get_property = gp8psk_fe_get_property,
.set_frontend_legacy = gp8psk_fe_set_frontend,
.set_frontend = gp8psk_fe_set_frontend,

.get_tune_settings = gp8psk_fe_get_tune_settings,

Expand Down

0 comments on commit 3c0c862

Please sign in to comment.