From: Antti Palosaari <crope@iki.fi>
To: Olli Salonen <olli.salonen@iki.fi>, olli@cabbala.net
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH 5/6] cx23855: add frontend set voltage function into state
Date: Wed, 13 Aug 2014 02:28:57 +0300 [thread overview]
Message-ID: <53EAA339.9000007@iki.fi> (raw)
In-Reply-To: <1407787095-2167-5-git-send-email-olli.salonen@iki.fi>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Antti
On 08/11/2014 10:58 PM, Olli Salonen wrote:
> Setting the LNB voltage requires setting some GPIOs on the cx23885 with some boards before calling the actual set_voltage function in the demod driver. Add a function pointer into state for that case.
>
> Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
> ---
> drivers/media/pci/cx23885/cx23885.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/media/pci/cx23885/cx23885.h b/drivers/media/pci/cx23885/cx23885.h
> index 1040b3e..e60ff7f 100644
> --- a/drivers/media/pci/cx23885/cx23885.h
> +++ b/drivers/media/pci/cx23885/cx23885.h
> @@ -330,6 +330,8 @@ struct cx23885_tsport {
> struct i2c_client *i2c_client_tuner;
>
> int (*set_frontend)(struct dvb_frontend *fe);
> + int (*fe_set_voltage)(struct dvb_frontend *fe,
> + fe_sec_voltage_t voltage);
> };
>
> struct cx23885_kernel_ir {
>
--
http://palosaari.fi/
next prev parent reply other threads:[~2014-08-12 23:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 19:58 [PATCH 1/6] si2168: add ts_mode setting and move to si2168_init Olli Salonen
2014-08-11 19:58 ` [PATCH 2/6] em28xx: add ts mode setting for PCTV 461e Olli Salonen
2014-08-12 23:23 ` Antti Palosaari
2014-08-11 19:58 ` [PATCH 3/6] cxusb: add ts mode setting for TechnoTrend CT2-4400 Olli Salonen
2014-08-12 23:25 ` Antti Palosaari
2014-08-11 19:58 ` [PATCH 4/6] cx23885: add i2c client handling into dvb_unregister and state Olli Salonen
2014-08-12 23:27 ` Antti Palosaari
2014-08-11 19:58 ` [PATCH 5/6] cx23855: add frontend set voltage function into state Olli Salonen
2014-08-12 23:28 ` Antti Palosaari [this message]
2014-08-11 19:58 ` [PATCH 6/6] cx23855: add support for DVBSky T9580 DVB-C/T2/S2 tuner Olli Salonen
2014-08-12 23:21 ` [PATCH 1/6] si2168: add ts_mode setting and move to si2168_init Antti Palosaari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53EAA339.9000007@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=olli.salonen@iki.fi \
--cc=olli@cabbala.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.