Re: [PATCH] HID: rmi: Check that the RMI_STARTED bit is set before unregistering the RMI transport device

From: Jiri Kosina
Date: Mon Nov 18 2019 - 04:24:25 EST

On Fri, 15 Nov 2019, Andrew Duggan wrote:

> Since this second patch was for the input subsystem I decided to just
> make them separate patches instead of creating a series. However, based
> on Dmitry's feedback it was determined that the second patch wasn't a
> good idea and it won't be applied. This first patch is enough to fix the
> issue by preventing the call to rmi_unregister_transport_device() if the
> subsequent call to register failed. The only change I would make to this
> patch would be to remove the last sentence of the comment. If you choose
> to apply that patch then would this be a change you would make? Or would
> you prefer I submit a v2 with this update?

I've modified the changelog and applied. Thanks,

Jiri Kosina