Skip to content

media: davinci: vpif driver cleanup

Prabhakar Lad linux-media lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 1 replyIn review
  2. v39 patches 9 repliesSuperseded
  3. v25 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches5 repliesSuperseded

Changes in v4 from the cover letter

1: Rebased on v3.11 branch of Hans.
2: Fixed review comments pointed by Laurent and Sergei. 3: Included Ack's.
4: Removed unnecessary loop for IRQ resource.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11media: davinci: vpif: remove unwanted header mach/hardware.h and sort the includes alphabeticallydrivers/media/platform/davinci/vpif.c+4 -60 replies
2/11media: davinci: vpif: Convert to devm_* apidrivers/media/platform/davinci/vpif.c+4 -230 replies
3/11media: davinci: vpif: remove unnecessary braces around definesdrivers/media/platform/davinci/vpif.c+4 -40 replies
4/11media: davinci: vpif_capture: move the freeing of irq and global variables to remove()drivers/media/platform/davinci/vpif_capture.c+11 -180 replies
5/11media: davinci: vpif_capture: use module_platform_driver()drivers/media/platform/davinci/vpif_capture.c+1 -270 replies
6/11media: davinci: vpif_capture: Convert to devm_* apidrivers/media/platform/davinci/vpif_capture.c+12 -240 replies
7/11media: davinci: vpif_capture: remove unnecessary loop for IRQ resourcedrivers/media/platform/davinci/vpif_capture.c+7 -100 replies
8/11media: davinci: vpif_display: move the freeing of irq and global variables to remove()drivers/media/platform/davinci/vpif_display.c+12 -180 replies
9/11media: davinci: vpif_display: use module_platform_driver()drivers/media/platform/davinci/vpif_display.c+1 -170 replies
10/11media: davinci: vpif_display: Convert to devm_* apidrivers/media/platform/davinci/vpif_display.c+10 -250 replies
11/11media: davinci: vpif_display: remove unnecessary loop for IRQ resourcedrivers/media/platform/davinci/vpif_display.c+8 -100 replies

Reviews trailers per patch

7 of 11 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLaurent Pinchart
SeriesA-b
1/11A-b
2/11A-b
3/11A-b
4/11
5/11A-b
6/11A-b
7/11
8/11
9/11A-b
10/11A-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/11] media: davinci: vpif driver cleanup

From: "Lad, Prabhakar" <[email protected]>

This patch series cleans the VPIF driver, uses devm_* api wherever required and uses module_platform_driver() to simplify the code.

This patch series applies on http://git.linuxtv.org/hverkuil/media_tree.git/
shortlog/refs/heads/for-v3.11 and is tested on OMAP-L138 EVM.

Changes for v2:
1: Rebased on v3.11 branch of Hans.
2: Dropped the patches which removed headers as mentioned by Laurent.

Changes for v3:
1: Splitted the patches logically as mentioned by Laurent. 2: Fixed review comments pointed by Laurent.
3: Included Ack's.

Changes for v4:
1: Rebased on v3.11 branch of Hans.
2: Fixed review comments pointed by Laurent and Sergei. 3: Included Ack's.
4: Removed unnecessary loop for IRQ resource.

Lad, Prabhakar (11):
media: davinci: vpif: remove unwanted header mach/hardware.h and sort
the includes alphabetically
media: davinci: vpif: Convert to devm_* api
media: davinci: vpif: remove unnecessary braces around defines
media: davinci: vpif_capture: move the freeing of irq and global
variables to remove()
media: davinci: vpif_capture: use module_platform_driver()
media: davinci: vpif_capture: Convert to devm_* api
media: davinci: vpif_capture: remove unnecessary loop for IRQ
resource
media: davinci: vpif_display: move the freeing of irq and global
variables to remove()
media: davinci: vpif_display: use module_platform_driver()
media: davinci: vpif_display: Convert to devm_* api
media: davinci: vpif_display: remove unnecessary loop for IRQ
resource

 drivers/media/platform/davinci/vpif.c         |   45 ++++-----------
 drivers/media/platform/davinci/vpif_capture.c |   76 +++++--------------------
 drivers/media/platform/davinci/vpif_display.c |   65 +++++----------------
 3 files changed, 39 insertions(+), 147 deletions(-)
Signature · 1 line
1.7.9.5