diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-03-18 22:24:09 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2007-03-18 22:24:09 -0700 |
commit | 76dd6bfa370d65fb7cab2484b6bc32c4422a0757 (patch) | |
tree | e94eeff3fd03a834a830c00e42d3e6441d3e729a /linux/drivers/media/dvb/frontends/dvb-pll.h | |
parent | 937771edc9b182de0db822cd07fefaf49b91c13b (diff) | |
download | mediapointer-dvb-s2-76dd6bfa370d65fb7cab2484b6bc32c4422a0757.tar.gz mediapointer-dvb-s2-76dd6bfa370d65fb7cab2484b6bc32c4422a0757.tar.bz2 |
dvb-pll: Replace sleep function with a more capable one
The dvb-pll sleep function could only send a 2-byte sequence to the PLL.
This isn't enough in some cases, for example fmd1216me will need to send
a 4-byte command to set both BB and AB to the correct values.
Instead of using a fake band with a frequency of 0 to store the sleep
data (which has room for only two bytes), the new sleep function works
like the init function. A new pointer is added to the pll description,
and when non-NULL points to a buffer with the length and data to send.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dvb-pll.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/dvb-pll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/dvb-pll.h b/linux/drivers/media/dvb/frontends/dvb-pll.h index 40b2dca1b..d13a1c01c 100644 --- a/linux/drivers/media/dvb/frontends/dvb-pll.h +++ b/linux/drivers/media/dvb/frontends/dvb-pll.h @@ -15,6 +15,7 @@ struct dvb_pll_desc { u32 iffreq; void (*setbw)(u8 *buf, u32 freq, int bandwidth); u8 *initdata; + u8 *sleepdata; int count; struct { u32 limit; |