From patchwork Thu Jan 21 10:29:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 12036095 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EEEC6C433E6 for ; Thu, 21 Jan 2021 13:03:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A15F723A04 for ; Thu, 21 Jan 2021 13:03:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729851AbhAUNDt (ORCPT ); Thu, 21 Jan 2021 08:03:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:59626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729438AbhAUKaK (ORCPT ); Thu, 21 Jan 2021 05:30:10 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 470BD23433; Thu, 21 Jan 2021 10:29:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611224969; bh=U8ydBIs1leOt47Wm9+F882XwGauCR/7D8HJT0x7aOzw=; h=From:To:Cc:Subject:Date:From; b=s2usR8TO08WVo313XMa3f32skpfdGhMQBnBaI79kXJj7L4MzgK0baK4eVyJWGdgTP 0otLU/QmXeIsbHZYhqE5qAId2n/Vgbg7FivIdSaossFEupuG6TDpVscwgi5Lkk9Yxp W7VkIno+Mq3twjtYkt2EHQV5YmvdHQgzj+a0PA7Xpj7b7j985oxUmTOUHiPr8SCl+j 5QUaLSpwLlJl1NZP8iuF2sajjl0mV2hwdvreAAUH+2Ta2GBbX2JeqVUJpiPkj/Vgka 0HFgs8MhK8ileGinx1XQymM0VySHvDRQO16qZjMEpS3LHA4JtwS+M8EjB0j26kMdEJ KT7Is2XUMdncA== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1l2XDc-0004YD-9n; Thu, 21 Jan 2021 11:29:36 +0100 From: Johan Hovold To: linux-usb@vger.kernel.org Cc: Manivannan Sadhasivam , linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 00/10] USB: serial: xr: fix up remaining issues in new driver Date: Thu, 21 Jan 2021 11:29:11 +0100 Message-Id: <20210121102922.17439-1-johan@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This series fixes the remaining issues in the new MaxLinear driver that were pointed out here: https://lore.kernel.org/r/YAlVLOqzx8otPgOg@hovoldconsulting.com Johan Johan Hovold (10): USB: serial: xr: fix NULL-deref at probe USB: serial: xr: fix interface leak at disconnect USB: serial: xr: use subsystem usb_device at probe USB: serial: xr: use termios flag helpers USB: serial: xr: document vendor-request recipient USB: serial: xr: clean up line-settings handling USB: serial: xr: simplify line-speed logic USB: serial: xr: fix gpio-mode handling USB: serial: xr: fix pin configuration USB: serial: xr: fix B0 handling drivers/usb/serial/xr_serial.c | 102 +++++++++++++++++++-------------- 1 file changed, 59 insertions(+), 43 deletions(-)