diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-03-19 01:24:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:57 -0400 |
commit | d519dcf61ed55bcfb947a31122cea068a73ad974 (patch) | |
tree | b6fc32cfde94195f1658136aa12e2a579bf517a1 /drivers/media/dvb/frontends/dvb-pll.h | |
parent | df78cb0a1870703b7622fe8c63e5bcb6563197fd (diff) |
V4L/DVB (5457): 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/dvb-pll.h')
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h index 40b2dca1bd51..d13a1c01c541 100644 --- a/drivers/media/dvb/frontends/dvb-pll.h +++ b/drivers/media/dvb/frontends/dvb-pll.h | |||
@@ -15,6 +15,7 @@ struct dvb_pll_desc { | |||
15 | u32 iffreq; | 15 | u32 iffreq; |
16 | void (*setbw)(u8 *buf, u32 freq, int bandwidth); | 16 | void (*setbw)(u8 *buf, u32 freq, int bandwidth); |
17 | u8 *initdata; | 17 | u8 *initdata; |
18 | u8 *sleepdata; | ||
18 | int count; | 19 | int count; |
19 | struct { | 20 | struct { |
20 | u32 limit; | 21 | u32 limit; |