Skip to contentSkip to conversation

component helper updates for 3.17

GIT PULL Russell King 3 participants 3 messages Jul 3, 2014

lore
Share & tools
lore
#0 lore raw

Greg,

Please incorporate the latest component updates, which can be found at:

git://ftp.arm.linux.org.uk/~rmk/linux-arm.git component-for-driver

with SHA1 6955b58254c2bcee8a7b55ce06468a645dc98ec5.

These updates fix one bug in the component helper where the matched components are not properly cleaned up when the master fails to bind. I'll provide a version of this for stable trees if it's deemed that we need to backport it.

The second patch causes the component helper to ignore duplicate matches when adding components - this is something that was originally needed for imx-drm, but since that has now been updated, we no longer need to skip over a component which has already been matched.

The final patch starts the process of updating the component helper API to achieve two goals: to allow the API to be more efficient when deferred probing occurs, and to allow for future improvements to the component helper without having a major impact on the users.

This represents groundwork for some other changes; once this has been merged, I will then send two further pull requests (one for the staging tree, and one for the DRM tree) to update the drivers to the new API. This will result in these three commits being shared with those trees.

This will update the following files:

 drivers/base/component.c  | 190 +++++++++++++++++++++++++++++++++++++---------
 include/linux/component.h |   7 ++
 2 files changed, 162 insertions(+), 35 deletions(-)

through these changes:

Russell King (3):
component: fix missed cleanup in case of devres failure
component: ignore multiple additions of the same component
component: add support for component match array

Many thanks.

#1 lore raw
Quoted 7 lines · Russell King

Greg,

Please incorporate the latest component updates, which can be found at:

git://ftp.arm.linux.org.uk/~rmk/linux-arm.git component-for-driver

with SHA1 6955b58254c2bcee8a7b55ce06468a645dc98ec5.

Pulled into my driver-core-next branch of my driver-core.git tree and pushed out.

thanks,

greg k-h

#2 lore raw
Quoted 11 lines · Greg Kroah-Hartman
Quoted 7 lines · Russell King

Greg,

Please incorporate the latest component updates, which can be found at:

git://ftp.arm.linux.org.uk/~rmk/linux-arm.git component-for-driver

with SHA1 6955b58254c2bcee8a7b55ce06468a645dc98ec5.

Pulled into my driver-core-next branch of my driver-core.git tree and pushed out.

Many thanks! I'll send the other two (one for staging, and one for DRM) tomorrow.

Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.