From 3448868cd48b1f2c3c9b957f31733bede40ca373 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 23 Jul 2011 09:58:38 -0300 Subject: [PATCH] --- yaml --- r: 294845 b: refs/heads/master c: 2212501ffad7fee1c2fcf9d6d55a24b489da18ad h: refs/heads/master i: 294843: 509786bb6f6be9abb29a30594b33f64ff5dd0795 v: v3 --- [refs] | 2 +- trunk/drivers/media/dvb/dvb-usb/az6007.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1c8affe68998..8de66305419f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d20a7f7277785e6f7fbe02eb469f7a99a9f058a4 +refs/heads/master: 2212501ffad7fee1c2fcf9d6d55a24b489da18ad diff --git a/trunk/drivers/media/dvb/dvb-usb/az6007.c b/trunk/drivers/media/dvb/dvb-usb/az6007.c index 56126d41a604..ed376b8292ce 100644 --- a/trunk/drivers/media/dvb/dvb-usb/az6007.c +++ b/trunk/drivers/media/dvb/dvb-usb/az6007.c @@ -52,7 +52,7 @@ static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) struct az6007_device_state *st; int status; - info("%s", __func__); + info("%s: %s", __func__, enable? "enable" : "disable" ); if (!adap) return -EINVAL; @@ -64,10 +64,14 @@ static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) if (enable) { +#if 0 down(&st->pll_mutex); +#endif status = st->gate_ctrl(fe, 1); } else { +#if 0 status = st->gate_ctrl(fe, 0); +#endif up(&st->pll_mutex); } return status;