From: Hans Verkuil <hverkuil@xs4all.nl>
To: "Frank Schäfer" <fschaefer.oss@googlemail.com>, m.chehab@samsung.com
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 00/19] em28xx: clean up the main device struct and move sub-module specific data to its own data structs
Date: Fri, 09 May 2014 11:04:50 +0200 [thread overview]
Message-ID: <536C9A32.10703@xs4all.nl> (raw)
In-Reply-To: <1395689605-2705-1-git-send-email-fschaefer.oss@googlemail.com>
Hi Frank,
This looks good to me. I do have some comments for future cleanups and I'll
reply to the relevant patches for that.
However, before I can apply this patch series you need to take a look at my comments
for this pre-requisite patch:
https://patchwork.linuxtv.org/patch/23179/
That needs to be sorted before I can apply this series.
Regards,
Hans
On 03/24/2014 08:33 PM, Frank Schäfer wrote:
> This patch series cleans up the main device struct of the em28xx driver.
>
> Most of the patches (patches 3-16) are about moving the em28xx-v4l specific data
> to it's own dynamically allocated data structure.
> Patch 19 moves two em28xx-alsa specific fields to the em28xx_audio struct.
> Patches 17 and 18 remove two fields which aren't needed.
>
>
> Frank Schäfer (19):
> em28xx: move sub-module data structs to a common place in the main
> struct
> em28xx-video: simplify usage of the pointer to struct
> v4l2_ctrl_handler in em28xx_v4l2_init()
> em28xx: start moving em28xx-v4l specific data to its own struct
> em28xx: move struct v4l2_ctrl_handler ctrl_handler from struct em28xx
> to struct v4l2
> em28xx: move struct v4l2_clk *clk from struct em28xx to struct v4l2
> em28xx: move video_device structs from struct em28xx to struct v4l2
> em28xx: move videobuf2 related data from struct em28xx to struct v4l2
> em28xx: move v4l2 frame resolutions and scale data from struct em28xx
> to struct v4l2
> em28xx: move vinmode and vinctrl data from struct em28xx to struct
> v4l2
> em28xx: move TV norm from struct em28xx to struct v4l2
> em28xx: move struct em28xx_fmt *format from struct em28xx to struct
> v4l2
> em28xx: move progressive/interlaced fields from struct em28xx to
> struct v4l2
> em28xx: move sensor parameter fields from struct em28xx to struct v4l2
> em28xx: move capture state tracking fields from struct em28xx to
> struct v4l2
> em28xx: move v4l2 user counting fields from struct em28xx to struct
> v4l2
> em28xx: move tuner frequency field from struct em28xx to struct v4l2
> em28xx: remove field tda9887_conf from struct em28xx
> em28xx: remove field tuner_addr from struct em28xx
> em28xx: move fields wq_trigger and streaming_started from struct
> em28xx to struct em28xx_audio
>
> drivers/media/usb/em28xx/em28xx-audio.c | 39 +-
> drivers/media/usb/em28xx/em28xx-camera.c | 51 +--
> drivers/media/usb/em28xx/em28xx-cards.c | 9 -
> drivers/media/usb/em28xx/em28xx-vbi.c | 10 +-
> drivers/media/usb/em28xx/em28xx-video.c | 592 +++++++++++++++++--------------
> drivers/media/usb/em28xx/em28xx.h | 120 ++++---
> 6 files changed, 452 insertions(+), 369 deletions(-)
>
next prev parent reply other threads:[~2014-05-09 9:05 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-24 19:33 [PATCH 00/19] em28xx: clean up the main device struct and move sub-module specific data to its own data structs Frank Schäfer
2014-03-24 19:33 ` [PATCH 01/19] em28xx: move sub-module data structs to a common place in the main struct Frank Schäfer
2014-03-24 19:33 ` [PATCH 02/19] em28xx-video: simplify usage of the pointer to struct v4l2_ctrl_handler in em28xx_v4l2_init() Frank Schäfer
2014-03-24 19:33 ` [PATCH 03/19] em28xx: start moving em28xx-v4l specific data to its own struct Frank Schäfer
2014-05-09 9:17 ` Hans Verkuil
2014-05-11 20:46 ` Frank Schäfer
2014-05-12 8:20 ` Hans Verkuil
2014-03-24 19:33 ` [PATCH 04/19] em28xx: move struct v4l2_ctrl_handler ctrl_handler from struct em28xx to struct v4l2 Frank Schäfer
2014-03-24 19:33 ` [PATCH 05/19] em28xx: move struct v4l2_clk *clk " Frank Schäfer
2014-03-24 19:33 ` [PATCH 06/19] em28xx: move video_device structs " Frank Schäfer
2014-05-09 9:19 ` Hans Verkuil
2014-05-11 20:50 ` Frank Schäfer
2014-05-12 8:09 ` Hans Verkuil
2014-03-24 19:33 ` [PATCH 07/19] em28xx: move videobuf2 related data " Frank Schäfer
2014-03-24 19:33 ` [PATCH 08/19] em28xx: move v4l2 frame resolutions and scale " Frank Schäfer
2014-03-24 19:33 ` [PATCH 09/19] em28xx: move vinmode and vinctrl " Frank Schäfer
2014-03-24 19:33 ` [PATCH 10/19] em28xx: move TV norm " Frank Schäfer
2014-03-24 19:33 ` [PATCH 11/19] em28xx: move struct em28xx_fmt *format " Frank Schäfer
2014-03-24 19:33 ` [PATCH 12/19] em28xx: move progressive/interlaced fields " Frank Schäfer
2014-03-24 19:33 ` [PATCH 13/19] em28xx: move sensor parameter " Frank Schäfer
2014-03-24 19:33 ` [PATCH 14/19] em28xx: move capture state tracking " Frank Schäfer
2014-03-24 19:33 ` [PATCH 15/19] em28xx: move v4l2 user counting " Frank Schäfer
2014-03-24 19:33 ` [PATCH 16/19] em28xx: move tuner frequency field " Frank Schäfer
2014-03-24 19:33 ` [PATCH 17/19] em28xx: remove field tda9887_conf from struct em28xx Frank Schäfer
2014-03-24 19:33 ` [PATCH 18/19] em28xx: remove field tuner_addr " Frank Schäfer
2014-03-24 19:33 ` [PATCH 19/19] em28xx: move fields wq_trigger and streaming_started from struct em28xx to struct em28xx_audio Frank Schäfer
2014-05-09 9:04 ` Hans Verkuil [this message]
2014-05-11 21:01 ` [PATCH 00/19] em28xx: clean up the main device struct and move sub-module specific data to its own data structs Frank Schäfer
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=536C9A32.10703@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=fschaefer.oss@googlemail.com \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox