On Thu, Feb 9, 2012 at 15:56, Jesse Barnes jbarnes@virtuousgeek.org wrote:
This prevents a race between module init and sysfs access (usually only seen at module reload time, or if somehow your userspace starts fast enough and pokes at /sys/class/drm while the drivers are still initializing).
Signed-off-by: Jesse Barnes jbarnes@virtuousgeek.org
Reviewed-by: Eugeni Dodonov eugeni.dodonov@intel.com