Re: [RFC][PATCH 1/2] Sensor orientation reporting

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

 



On Sun, 15 Mar 2009 22:29:48 +0000
Adam Baker <linux@xxxxxxxxxxxxxxxx> wrote:

> Add support to the SQ-905 driver to pass back to user space the
> sensor orientation information obtained from the camera during init.
> Modifies gspca and the videodev2.h header to create the necessary
> API.
> 
> Signed-off-by: Adam Baker <linux@xxxxxxxxxxxxxxxx>
> 
> ---
	[snip]
> diff -r 1248509d8bed linux/drivers/media/video/gspca/gspca.h
> --- a/linux/drivers/media/video/gspca/gspca.h	Sat Mar 14
> 08:44:42 2009 +0100
> +++ b/linux/drivers/media/video/gspca/gspca.h	Sun Mar 15
> 22:25:34 2009 +0000
> @@ -168,6 +168,7 @@ struct gspca_dev {
> 	__u8 alt;		/* USB alternate setting */
> 	__u8 nbalt;		/* number of USB alternate settings */
>	 u8 bulk;		/* image transfer by 0:isoc / 1:bulk
> */
> +	u32 input_flags;	/* value for ENUM_INPUT status flags
> */ };
	[snip]

Hi Adam,

This 'input_flags' should better go to the 'struct cam' (line 59).

Cheers.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
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