Re: [GIT PATCHES FOR 2.6.34] Support for vpfe-capture on DM365

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux