Re: [PATCH] USB: cdc-acm: fix broken runtime suspend

From: Oliver Neukum
Date: Tue Apr 15 2014 - 04:35:37 EST


On Mon, 2014-04-14 at 21:58 +0200, Johan Hovold wrote:

> Fix this by implementing a delayed-write queue using urb anchors and
> making sure to discard the queue properly at shutdown.

Looks very good, with one exception: acm_tty_close() must
synchronously resume the device so that the anchor is emptied
before ASYNCB is cleared.

Regards
Oliver


--
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/