From patchwork Wed Feb 27 10:46:56 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: 10831533 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 EB4F01575 for ; Wed, 27 Feb 2019 10:47:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D768F2C6EE for ; Wed, 27 Feb 2019 10:47:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C987A2C745; Wed, 27 Feb 2019 10:47: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 745052C6EE for ; Wed, 27 Feb 2019 10:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726652AbfB0Kq7 (ORCPT ); Wed, 27 Feb 2019 05:46:59 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:9889 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726356AbfB0Kq7 (ORCPT ); Wed, 27 Feb 2019 05:46:59 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 448XQX6XdJzHh; Wed, 27 Feb 2019 11:45:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1551264341; bh=YzVZ211l0cpMpOhPv9uP8M49Pw7/pGi0Xt+MC4qeZZo=; h=Date:From:To:Subject:Cc:From; b=nl3tChAS0MKura/BbnKkDX1BtdWHJy2gJQya1YC+FIpljL9m1nQ15weekmzw6ycnM 0PXlG8ceRf3XfLiNOXCdCbk3/8ipoVfG6l8Ehk+PwlRk/duNE1iMtK8mJji+5cglDl ceExqfko12Y3vXsCyZo+8zW5gyCHE0JSwXmTRRXThlE6a90betKksCHiiEUddyXTkT v0Oc91xWw55MJERfpaH8qWcxTtJj9o9FEnW2j5th1VkKd94abUYuB/8wS4MX+bTghu fSF13vnJaa9FwZZrUKEvDkCpTjYN9+ZgS8R8yhxvKFPSLaHZsakrYHaTWmEEkY+YpQ NGMoAAijl5PiA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Wed, 27 Feb 2019 11:46:56 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= MIME-Version: 1.0 To: linux-usb@vger.kernel.org Subject: [PATCH v3 0/5] usb: gadget: u_serial: console for multiple ports 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(-)