Re: [MM PATCH] port-serial: fix forced closing after b28230411

2014-10-09 Thread Aleksander Morgado
On Wed, Oct 8, 2014 at 8:25 PM, Dan Williams d...@redhat.com wrote: On Wed, 2014-10-08 at 00:29 +0200, Aleksander Morgado wrote: On Tue, Oct 7, 2014 at 11:06 PM, Dan Williams d...@redhat.com wrote: b28230411 moved up the self-priv-forced_close = TRUE, which caused mm_port_serial_close() to

Re: [MM PATCH] port-serial: fix forced closing after b28230411

2014-10-08 Thread Dan Williams
On Wed, 2014-10-08 at 00:29 +0200, Aleksander Morgado wrote: On Tue, Oct 7, 2014 at 11:06 PM, Dan Williams d...@redhat.com wrote: b28230411 moved up the self-priv-forced_close = TRUE, which caused mm_port_serial_close() to just return without actually closing the port and cleaning up.

[MM PATCH] port-serial: fix forced closing after b28230411

2014-10-07 Thread Dan Williams
b28230411 moved up the self-priv-forced_close = TRUE, which caused mm_port_serial_close() to just return without actually closing the port and cleaning up. Also, cancel the reopen separately from closing the port since the two operations are actually independent of each other. ---

Re: [MM PATCH] port-serial: fix forced closing after b28230411

2014-10-07 Thread Aleksander Morgado
On Tue, Oct 7, 2014 at 11:06 PM, Dan Williams d...@redhat.com wrote: b28230411 moved up the self-priv-forced_close = TRUE, which caused mm_port_serial_close() to just return without actually closing the port and cleaning up. Also, cancel the reopen separately from closing the port since the