Re: [PATCH/RFC] core: add a function to safely try to get device driver owner

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guennadi Liakhovetski
Date: Monday, November 29, 2010 - 1:54 pm

Hi Jon

On Mon, 29 Nov 2010, Jonathan Corbet wrote:


Sorry, don't see a good way to do this. This function is for a general 
dependency, where you don't have that driver, we are checking for register 
with us, so, the only way to get to it is via dev->driver->owner. And I 
also don't want to move registering the device into the dependant driver 
and then wait (with a timeout) for a driver to probe with it... I just 
want to verify, whether a driver has attached to that device and whether I 
can lock it down.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC] core: add a function to safely try to get devi ..., Guennadi Liakhovetski, (Mon Nov 29, 12:43 pm)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Guennadi Liakhovetski, (Mon Nov 29, 1:11 pm)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Guennadi Liakhovetski, (Mon Nov 29, 1:54 pm)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Guennadi Liakhovetski, (Mon Nov 29, 3:10 pm)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Guennadi Liakhovetski, (Mon Nov 29, 4:11 pm)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Guennadi Liakhovetski, (Tue Nov 30, 12:18 am)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Guennadi Liakhovetski, (Tue Nov 30, 10:09 am)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Laurent Pinchart, (Tue Nov 30, 10:55 am)
Re: [PATCH/RFC] core: add a function to safely try to get ..., Laurent Pinchart, (Tue Nov 30, 1:43 pm)