From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Muralidharan Karicheri <mkaricheri@gmail.com>
Cc: linux-media@vger.kernel.org, khilman@deeprootsystems.com,
hverkuil@xs4all.nl
Subject: Re: [GIT PATCHES FOR 2.6.34] Support for vpfe-capture on DM365
Date: Fri, 05 Feb 2010 19:52:29 -0200 [thread overview]
Message-ID: <4B6C931D.9020208@redhat.com> (raw)
In-Reply-To: <55a3e0ce1002050945k7595d541lb04976344ff91431@mail.gmail.com>
Muralidharan Karicheri wrote:
> Mauro,
>
> Please pull from the following:-
>
> The following changes since commit 84b74782ace1ae091c1b0e14ae2ee9bb720532ba:
> Douglas Schilling Landgraf (1):
> V4L/DVB: Fix logic for Leadtek winfast tv usbii deluxe
>
> are available in the git repository at:
>
> git://linuxtv.org/mkaricheri/vpfe-vpbe-video.git for_upstream
>
> Murali Karicheri (6):
> DaVinci - Adding platform & board changes for vpfe capture on DM365
> V4L - vpfe capture - header files for ISIF driver
> V4L - vpfe capture - source for ISIF driver on DM365
Hmm...
+static int isif_get_params(void __user *params)
+{
+ /* only raw module parameters can be set through the IOCTL */
+ if (isif_cfg.if_type != VPFE_RAW_BAYER)
+ return -EINVAL;
+
+ if (copy_to_user(params,
+ &isif_cfg.bayer.config_params,
+ sizeof(isif_cfg.bayer.config_params))) {
+/* Parameter operations */
+static int isif_set_params(void __user *params)
+{
+ struct isif_config_params_raw *isif_raw_params;
+ int ret = -EINVAL;
+
+ /* only raw module parameters can be set through the IOCTL */
+ if (isif_cfg.if_type != VPFE_RAW_BAYER)
+ return ret;
+
+ isif_raw_params = kzalloc(sizeof(*isif_raw_params), GFP_KERNEL);
+ if (NULL == isif_raw_params)
+ return -ENOMEM;
+
+ ret = copy_from_user(isif_raw_params,
It seems that you're defining some undocumented new userspace API here.
Cheers,
Mauro
next parent reply other threads:[~2010-02-05 21:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <55a3e0ce1002050945k7595d541lb04976344ff91431@mail.gmail.com>
2010-02-05 21:52 ` Mauro Carvalho Chehab [this message]
2010-02-06 5:26 ` [GIT PATCHES FOR 2.6.34] Support for vpfe-capture on DM365 Muralidharan Karicheri
2010-02-07 12:50 ` Mauro Carvalho Chehab
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=4B6C931D.9020208@redhat.com \
--to=mchehab@redhat.com \
--cc=hverkuil@xs4all.nl \
--cc=khilman@deeprootsystems.com \
--cc=linux-media@vger.kernel.org \
--cc=mkaricheri@gmail.com \
/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.