lkml.org 
[lkml]   [2017]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] driver core: unbind consumers before locking parent on device unbind
On Fri, Feb 17, 2017 at 07:36:29PM +0100, Lucas Stach wrote:
> On forced unbind the parent lock is taken, as the device might be a USB
> device. The device to be unbound might have active consumers, which
> must be unbound before calling device_release_driver(), otherwise this
> function might deadlock when trying to take the parent lock during
> consumer unbind.

Really? What type of device does this fail on today?

thanks,

greg k-h

\
 
 \ /
  Last update: 2017-02-17 19:43    [W:0.055 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site