Skip to contentSkip to conversation

Media entity link handling fixes

GIT PULL Sylwester Nawrocki 3 participants 3 messages Jun 17, 2013 – Jun 18, 2013 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

This includes corrections of the media entity links handling and resolves potential issues when media entity drivers are in different kernel modules. It allows to keep all entities that belong to same media graph in correct state, when one of an entity's driver module gets unloaded.

The following changes since commit dd8c393b3c39f7ebd9ad69ce50cc836773d512b6:

[media] media: i2c: ths7303: make the pdata as a constant pointer (2013-06-13 11:42:17 -0300)

are available in the git repository at:

git://linuxtv.org/snawrocki/samsung.git for-v3.11-2

for you to fetch changes up to 28521e45c4478b7bc083e445573aacb7d174dd35:

V4L: Remove all links of the media entity when unregistering subdev (2013-06-17 13:42:22 +0200)

----------------------------------------------------------------
Sakari Ailus (2):
davinci_vpfe: Clean up media entity after unregistering subdev
smiapp: Clean up media entity after unregistering subdev

Sylwester Nawrocki (2):
media: Add a function removing all links of a media entity
V4L: Remove all links of the media entity when unregistering subdev

 drivers/media/i2c/smiapp/smiapp-core.c             |    2 +-
 drivers/media/media-entity.c                       |   50 ++++++++++++++++++++
 drivers/media/v4l2-core/v4l2-device.c              |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c   |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_ipipeif.c |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_isif.c    |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_resizer.c |   14 +++---
 drivers/staging/media/davinci_vpfe/vpfe_video.c    |    2 +-
 include/media/media-entity.h                       |    3 ++
 9 files changed, 71 insertions(+), 16 deletions(-)

Thanks,
Sylwester

#1 lore raw

Hi Sylwester,

A bit late, but for the whole series,

As discussed privately earlier today, sorry for not having handled the patches myself. I will gather media controller related patches in the future.

Quoted 40 lines · On Monday 17 June 2013 14:12:18 Sylwester Nawrocki wrote:

Hi Mauro,

This includes corrections of the media entity links handling and resolves potential issues when media entity drivers are in different kernel modules. It allows to keep all entities that belong to same media graph in correct state, when one of an entity's driver module gets unloaded.

The following changes since commit dd8c393b3c39f7ebd9ad69ce50cc836773d512b6:

[media] media: i2c: ths7303: make the pdata as a constant pointer
(2013-06-13 11:42:17 -0300)

are available in the git repository at:

git://linuxtv.org/snawrocki/samsung.git for-v3.11-2

for you to fetch changes up to 28521e45c4478b7bc083e445573aacb7d174dd35:

V4L: Remove all links of the media entity when unregistering subdev
(2013-06-17 13:42:22 +0200)

----------------------------------------------------------------
Sakari Ailus (2):
davinci_vpfe: Clean up media entity after unregistering subdev
smiapp: Clean up media entity after unregistering subdev

Sylwester Nawrocki (2):
media: Add a function removing all links of a media entity
V4L: Remove all links of the media entity when unregistering subdev

 drivers/media/i2c/smiapp/smiapp-core.c             |    2 +-
 drivers/media/media-entity.c                       |   50 +++++++++++++++++
 drivers/media/v4l2-core/v4l2-device.c              |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c   |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_ipipeif.c |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_isif.c    |    4 +-
 drivers/staging/media/davinci_vpfe/dm365_resizer.c |   14 +++---
 drivers/staging/media/davinci_vpfe/vpfe_video.c    |    2 +-
 include/media/media-entity.h                       |    3 ++
 9 files changed, 71 insertions(+), 16 deletions(-)
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw
Quoted 8 lines · Laurent Pinchart

Hi Sylwester,

A bit late, but for the whole series,

As discussed privately earlier today, sorry for not having handled the patches myself. I will gather media controller related patches in the future.

Thanks Laurent. Please accept once again my apologies for this unsolicited pull request. And I'll hold you to your word! ;)

Regards,
Sylwester

Quoted 42 lines · On Monday 17 June 2013 14:12:18 Sylwester Nawrocki wrote:
Quoted 40 lines

Hi Mauro,

This includes corrections of the media entity links handling and resolves potential issues when media entity drivers are in different kernel modules. It allows to keep all entities that belong to same media graph in correct state, when one of an entity's driver module gets unloaded.

The following changes since commit dd8c393b3c39f7ebd9ad69ce50cc836773d512b6:

[media] media: i2c: ths7303: make the pdata as a constant pointer
(2013-06-13 11:42:17 -0300)

are available in the git repository at:

   git://linuxtv.org/snawrocki/samsung.git for-v3.11-2

for you to fetch changes up to 28521e45c4478b7bc083e445573aacb7d174dd35:

V4L: Remove all links of the media entity when unregistering subdev
(2013-06-17 13:42:22 +0200)

----------------------------------------------------------------
Sakari Ailus (2):
davinci_vpfe: Clean up media entity after unregistering subdev
smiapp: Clean up media entity after unregistering subdev

Sylwester Nawrocki (2):
media: Add a function removing all links of a media entity
V4L: Remove all links of the media entity when unregistering subdev

  drivers/media/i2c/smiapp/smiapp-core.c             |    2 +-
  drivers/media/media-entity.c                       |   50 +++++++++++++++++
  drivers/media/v4l2-core/v4l2-device.c              |    4 +-
  drivers/staging/media/davinci_vpfe/dm365_ipipe.c   |    4 +-
  drivers/staging/media/davinci_vpfe/dm365_ipipeif.c |    4 +-
  drivers/staging/media/davinci_vpfe/dm365_isif.c    |    4 +-
  drivers/staging/media/davinci_vpfe/dm365_resizer.c |   14 +++---
  drivers/staging/media/davinci_vpfe/vpfe_video.c    |    2 +-
  include/media/media-entity.h                       |    3 ++
  9 files changed, 71 insertions(+), 16 deletions(-)