From patchwork Wed Feb 27 07:48:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 10831363 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CEDAF1399 for ; Wed, 27 Feb 2019 07:49:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACEB62B6C9 for ; Wed, 27 Feb 2019 07:49:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A96329B9A; Wed, 27 Feb 2019 07:49:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40EB42A8C2 for ; Wed, 27 Feb 2019 07:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729603AbfB0Hs7 (ORCPT ); Wed, 27 Feb 2019 02:48:59 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:7324 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbfB0Hs6 (ORCPT ); Wed, 27 Feb 2019 02:48:58 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 448ST80FpPzHh; Wed, 27 Feb 2019 08:47:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1551253660; bh=Q1a/RnEswtGfhW2KahNwWJmuFuoN/csNHBOojilDOT0=; h=Date:From:Subject:To:Cc:From; b=SYwQ/EmUNWTXlwq8pxU9fu3gVimuVYAvBKkA/0rK+YgUQ93+LdmT6ufC+knnGk770 aFeZm78AQ/XYGy8h7zpRZyTONbp3GNBCuRCmEP95OaMh+PiCvnJRsYcPL1bBbpDzwZ qk8ykxdSUQ17ePo/9xWxKVKmzjbIvZDCZgSbjp4H0pVclR8lzpscS1npVw+Bl33Q4W 6wEOWVRenk+gzEkzcWcFqpTQ0z2m8xV1otRCyMG0PYUIR+eYiRDBQLDJb4JLWi2lQh Ym4yK2Vga6MWAxkGNrSygBVbXMqliwPvK8jFl3EZpHfXpxj53GI8M4JLVlOqFjcUxQ CFPoCyvgakrpg== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Wed, 27 Feb 2019 08:48:54 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH 0/5] usb: gadget: u_serial: console for multiple ports MIME-Version: 1.0 To: linux-usb@vger.kernel.org Cc: Felipe Balbi , Greg Kroah-Hartman Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series makes it possible to have more control over console using usb serial gadget ports. This can be useful when you need more than one USB console or are configuring multiple serial port function using configfs. The patches are against usb-next branch. Michał Mirosław (5): usb: gadget: u_serial: add missing port entry locking usb: gadget: u_serial: reimplement console support usb: gadget: u_serial: make OBEX port not a console usb: gadget: u_serial: allow more console gadget ports usb: gadget: u_serial: diagnose missed console messages drivers/usb/gadget/function/f_acm.c | 23 +- drivers/usb/gadget/function/f_obex.c | 2 +- drivers/usb/gadget/function/f_serial.c | 23 +- drivers/usb/gadget/function/u_serial.c | 411 ++++++++++++++----------- drivers/usb/gadget/function/u_serial.h | 9 +- drivers/usb/gadget/legacy/dbgp.c | 2 +- 6 files changed, 278 insertions(+), 192 deletions(-)