Re: [GIT PATCHES FOR 2.6.35] More _fmt to _mbus_fmt conversions

2010-05-12 Thread Hans Verkuil
On Monday 10 May 2010 08:42:29 Hans Verkuil wrote:
 On Sunday 09 May 2010 15:30:24 Hans Verkuil wrote:
  The following changes since commit 08b8618ac4dbcd05ec1886853b1d865798d26e1d:
Devin Heitmueller (1):
  V4L/DVB: ngene: Add lgdt3303 and mt2131 deps to Kconfig
  
  are available in the git repository at:
  
ssh://linuxtv.org/git/hverkuil/v4l-dvb.git mbus1
  
  Tested with ivtv, cx18, saa7134-empress and pvrusb2.
  
  This is the first patch series of driver conversions. These are all pretty
  trivial and basically just replace enum/try/g/s_fmt with 
  enum/try/g/s_mbus_fmt.
  
  There will be two or three more patch series but some need to be reviewed
  first.
  
  The goal is to get rid of enum/try/g/s_fmt in the video ops. It's the wrong
  API at that level and as long as it is in the video ops people will misuse
  it.
 
 Now that I received the Ack from Guennadi I've also added this patch to the
 pull request:
 
   v4l2-subdev.h: fix enum_mbus_fmt prototype
 
 Guennadi: I've changed unsigned to unsigned int.

And with Vaibhav's ack I've added those patches as well:

  tvp514x: do NOT change the std as a side effect
  tvp514x: make std_list const
  tvp514x: there is only one supported format, so simplify the code
  tvp514x: add missing newlines
  tvp514x: remove obsolete fmt_list
  tvp514x: simplify try/g/s_fmt handling

Regards,

Hans

 
  Hans Verkuil (21):
V4L2 Spec: Improve the VIDIOC_QUERY_DV_PRESET description
saa7115: add s_mbus_fmt op
cx25840: add support for s_mbus_fmt
saa717x: add support for s_mbus_fmt
ivtv: convert to use s_mbus_fmt
cx18: add s_mbus_fmt support
cx18: remove old g/s_fmt from the cx18_av subdev
saa7127: remove obsolete g_fmt support
saa717x: remove obsolete s_fmt op
v4l2-mediabus.h: add two helper functions
saa6752hs: add g/s_mbus_fmt support
saa7134: convert to use the new mbus API
pvrusb2: convert to s_mbus_fmt
cx23885: convert to s_mbus_fmt
cx231xx: convert to s_mbus_fmt
cx24850: remove obsolete g/s_fmt ops
saa7115: remove obsolete g/s_fmt ops
v4l2-mediabus.h: added V4L2_MBUS_FMT_SGRBG8_1X8
mt9v011: add enum/try/s_mbus_fmt support
tvp5150: remove obsolete g/s_fmt ops
au8522_decoder: g/s_fmt doesn't do anything: remove.
  
   .../DocBook/v4l/vidioc-query-dv-preset.xml |6 +-
   drivers/media/dvb/frontends/au8522_decoder.c   |   26 
   drivers/media/video/cx18/cx18-av-core.c|  125 
  +---
   drivers/media/video/cx18/cx18-controls.c   |   11 +-
   drivers/media/video/cx18/cx18-ioctl.c  |8 +-
   drivers/media/video/cx231xx/cx231xx-video.c|5 +-
   drivers/media/video/cx23885/cx23885-video.c|5 +-
   drivers/media/video/cx25840/cx25840-core.c |   99 +++-
   drivers/media/video/ivtv/ivtv-controls.c   |   10 +-
   drivers/media/video/ivtv/ivtv-ioctl.c  |6 +-
   drivers/media/video/mt9v011.c  |   37 +++---
   drivers/media/video/pvrusb2/pvrusb2-hdw.c  |   12 +-
   drivers/media/video/saa7115.c  |   19 +--
   drivers/media/video/saa7127.c  |8 --
   drivers/media/video/saa7134/saa6752hs.c|   46 ---
   drivers/media/video/saa7134/saa7134-empress.c  |9 +-
   drivers/media/video/saa717x.c  |   38 ---
   drivers/media/video/tvp5150.c  |   20 ---
   include/media/v4l2-mediabus.h  |   21 
   19 files changed, 233 insertions(+), 278 deletions(-)
  
 
 

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PATCHES FOR 2.6.35] More _fmt to _mbus_fmt conversions

2010-05-10 Thread Hans Verkuil
On Sunday 09 May 2010 15:30:24 Hans Verkuil wrote:
 The following changes since commit 08b8618ac4dbcd05ec1886853b1d865798d26e1d:
   Devin Heitmueller (1):
 V4L/DVB: ngene: Add lgdt3303 and mt2131 deps to Kconfig
 
 are available in the git repository at:
 
   ssh://linuxtv.org/git/hverkuil/v4l-dvb.git mbus1
 
 Tested with ivtv, cx18, saa7134-empress and pvrusb2.
 
 This is the first patch series of driver conversions. These are all pretty
 trivial and basically just replace enum/try/g/s_fmt with 
 enum/try/g/s_mbus_fmt.
 
 There will be two or three more patch series but some need to be reviewed
 first.
 
 The goal is to get rid of enum/try/g/s_fmt in the video ops. It's the wrong
 API at that level and as long as it is in the video ops people will misuse
 it.

Now that I received the Ack from Guennadi I've also added this patch to the
pull request:

  v4l2-subdev.h: fix enum_mbus_fmt prototype

Guennadi: I've changed unsigned to unsigned int.

Regards,

Hans

 Hans Verkuil (21):
   V4L2 Spec: Improve the VIDIOC_QUERY_DV_PRESET description
   saa7115: add s_mbus_fmt op
   cx25840: add support for s_mbus_fmt
   saa717x: add support for s_mbus_fmt
   ivtv: convert to use s_mbus_fmt
   cx18: add s_mbus_fmt support
   cx18: remove old g/s_fmt from the cx18_av subdev
   saa7127: remove obsolete g_fmt support
   saa717x: remove obsolete s_fmt op
   v4l2-mediabus.h: add two helper functions
   saa6752hs: add g/s_mbus_fmt support
   saa7134: convert to use the new mbus API
   pvrusb2: convert to s_mbus_fmt
   cx23885: convert to s_mbus_fmt
   cx231xx: convert to s_mbus_fmt
   cx24850: remove obsolete g/s_fmt ops
   saa7115: remove obsolete g/s_fmt ops
   v4l2-mediabus.h: added V4L2_MBUS_FMT_SGRBG8_1X8
   mt9v011: add enum/try/s_mbus_fmt support
   tvp5150: remove obsolete g/s_fmt ops
   au8522_decoder: g/s_fmt doesn't do anything: remove.
 
  .../DocBook/v4l/vidioc-query-dv-preset.xml |6 +-
  drivers/media/dvb/frontends/au8522_decoder.c   |   26 
  drivers/media/video/cx18/cx18-av-core.c|  125 
 +---
  drivers/media/video/cx18/cx18-controls.c   |   11 +-
  drivers/media/video/cx18/cx18-ioctl.c  |8 +-
  drivers/media/video/cx231xx/cx231xx-video.c|5 +-
  drivers/media/video/cx23885/cx23885-video.c|5 +-
  drivers/media/video/cx25840/cx25840-core.c |   99 +++-
  drivers/media/video/ivtv/ivtv-controls.c   |   10 +-
  drivers/media/video/ivtv/ivtv-ioctl.c  |6 +-
  drivers/media/video/mt9v011.c  |   37 +++---
  drivers/media/video/pvrusb2/pvrusb2-hdw.c  |   12 +-
  drivers/media/video/saa7115.c  |   19 +--
  drivers/media/video/saa7127.c  |8 --
  drivers/media/video/saa7134/saa6752hs.c|   46 ---
  drivers/media/video/saa7134/saa7134-empress.c  |9 +-
  drivers/media/video/saa717x.c  |   38 ---
  drivers/media/video/tvp5150.c  |   20 ---
  include/media/v4l2-mediabus.h  |   21 
  19 files changed, 233 insertions(+), 278 deletions(-)
 

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html