[PATCH 2/5] drm/sysfs: protect sysfs removal code against being run twice.

2012-02-21 Thread Daniel Vetter
On Mon, Feb 20, 2012 at 04:13:46PM +, Dave Airlie wrote: > From: Dave Airlie > > a step towards correct hot unplug for USB devices, we need to > remove the userspace facing bits at the unplug time for correct > udev operation. > > Signed-off-by: Dave Airlie The lack of any WARN_ON(mutex_is

Re: [PATCH 2/5] drm/sysfs: protect sysfs removal code against being run twice.

2012-02-21 Thread Daniel Vetter
On Mon, Feb 20, 2012 at 04:13:46PM +, Dave Airlie wrote: > From: Dave Airlie > > a step towards correct hot unplug for USB devices, we need to > remove the userspace facing bits at the unplug time for correct > udev operation. > > Signed-off-by: Dave Airlie The lack of any WARN_ON(mutex_is

[PATCH 2/5] drm/sysfs: protect sysfs removal code against being run twice.

2012-02-20 Thread Dave Airlie
From: Dave Airlie a step towards correct hot unplug for USB devices, we need to remove the userspace facing bits at the unplug time for correct udev operation. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_sysfs.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --gi

[PATCH 2/5] drm/sysfs: protect sysfs removal code against being run twice.

2012-02-20 Thread Dave Airlie
From: Dave Airlie a step towards correct hot unplug for USB devices, we need to remove the userspace facing bits at the unplug time for correct udev operation. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_sysfs.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --gi