Re: [char-misc 4.2] mei: nfc: fix deadlock on shutdown/suspend path

From: Greg Kroah-Hartman
Date: Tue Jul 07 2015 - 18:01:28 EST


On Tue, Jul 07, 2015 at 02:40:13PM -0700, Linus Torvalds wrote:
> On Tue, Jul 7, 2015 at 2:22 PM, Tomas Winkler <tomas.winkler@xxxxxxxxx> wrote:
> > In function mei_nfc_host_exit mei_cl_remove_device cannot be called
> > under the device mutex as device removing flow invokes the device driver
> > remove handler that calls in turn to mei_cl_disable_device which
> > naturally acquires the device mutex.
>
> Yup, tested and confirmed. This patch fixes things for me without the
> revert. Thanks.
>
> Greg, should I just apply it directly, or do we go through your tree?

Feel free to take it directly, that way it fixes your laptop now, I
don't have any other pending char-misc patches at the moment.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/