]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
V4L/DVB (5457): Dvb-pll: Replace sleep function with a more capable one
authorTrent Piepho <xyzzy@speakeasy.org>
Mon, 19 Mar 2007 05:24:09 +0000 (02:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:57 +0000 (15:44 -0300)
commitd519dcf61ed55bcfb947a31122cea068a73ad974
treeb6fc32cfde94195f1658136aa12e2a579bf517a1
parentdf78cb0a1870703b7622fe8c63e5bcb6563197fd
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>
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/dvb-pll.h