From patchwork Wed Feb 27 09:29:36 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: 10831461 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 4A96B1390 for ; Wed, 27 Feb 2019 09:29:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35C382C502 for ; Wed, 27 Feb 2019 09:29:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A01D2C7D5; Wed, 27 Feb 2019 09:29:40 +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 BEF372C502 for ; Wed, 27 Feb 2019 09:29:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726845AbfB0J3j (ORCPT ); Wed, 27 Feb 2019 04:29:39 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:7095 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfB0J3j (ORCPT ); Wed, 27 Feb 2019 04:29:39 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 448VjK0CgQzHh; Wed, 27 Feb 2019 10:28:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1551259701; bh=YzVZ211l0cpMpOhPv9uP8M49Pw7/pGi0Xt+MC4qeZZo=; h=Date:From:Subject:To:Cc:From; b=NbM2EtMVMh3axn4l6p5fn51LooWXcB1kAuajF6U2f93jIH5jyu7gBbFWdHHvO0N4P NsZrVc1LYUnY9RDyt75Rm91z1Jbn0EWJurm3Mhc0fBCC1avwcpXjjkTtb318dUMUa1 ExoZXPDasuRt7A9bdlu8wxronLeQRmcZm2F1UdQHJnB02jpLcdSwqFxPudEdU8Ce9x vsRo0PwHUI1oDOZD+dOqc+HEh0DAy7W1XAXy5BKJrBl8ffh2vuMsf3A+yE4IE3TTKn US2X4zfPmrsgVHtw79DS8frpiHHpEvmTOpnLZB5hOaUKjXERCjax1aVjQxrhRGkrgd kHfIjDDN3qijQ== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Wed, 27 Feb 2019 10:29:36 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH v2 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 via 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 | 21 ++ drivers/usb/gadget/function/f_obex.c | 2 +- drivers/usb/gadget/function/f_serial.c | 21 ++ drivers/usb/gadget/function/u_serial.c | 419 ++++++++++++++----------- drivers/usb/gadget/function/u_serial.h | 8 + 5 files changed, 283 insertions(+), 188 deletions(-)