From: Winkler, Tomas Date: Thu, 24 Nov 2016 16:10:49 GMT Subject: RE: [char-misc-next] mei: request async autosuspend at the end of enumeration Message-ID: <5B8DA87D05A7694D9FA63FD143655C1B5433132E@hasmsx108.ger.corp.intel.com> In-Reply-To: <1479987242-32050-1-git-send-email-tomas.winkler@intel.com> > > From: Alexander Usyskin > > pm_runtime_autosuspend can take synchronous or asynchronous paths, > Because we are calling pm_runtime_mark_last_busy just before this most of > the cases it takes the asynchronous way. However, when the FW or driver > resets during already running runtime suspend, the call will result in calling to > the driver's rpm callback and results in a deadlock on device_lock. > The simplest fix is to replace pm_runtime_autosuspend with asynchronous > pm_request_autosuspend. > > Cc: # 4.4+ Looks like git send-email is not able to parse this address correctly though this is suggested format by Documentation/stable_kernel_rules.txt. Create wrong address If git parsers is used : 'stable@vger.kernel.org#4.4+' Something like s/#.*$// is needed before parsing Cc: Thanks Tomas