Received: by 10.192.165.156 with SMTP id m28csp534106imm; Mon, 16 Apr 2018 04:46:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Ag7FNdYpExi3AHcUoYD603HDSDj9mTXGu6btipyC7Cp4fGu0Vz9XzQ3jHPZGzxWe17PNt X-Received: by 10.99.113.20 with SMTP id m20mr4646625pgc.144.1523879203597; Mon, 16 Apr 2018 04:46:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523879203; cv=none; d=google.com; s=arc-20160816; b=M9UK5tq2viK8t4KUXsmfI99o4MNnqoQenW16p42rMfluI7UDYa/pYZ+SrVJnZLQIrA ScpPmVapzq0QWFiQWEMTrc+z7sOTL5dhgZw/xANdS/1q36fFjr/hT3G6RBroDaFz01Co HffAY20noBmvWlrz+PdUGTlqbmvWy1lhU5OmHzO6yTrC9Jx+BCRfevyhKERV3GCZDZD6 9ryvaAVKaDZecd3HIUnQfo+DjCOocSgt0D6tCZX3PXcxCtsFGsquXTgxfAm1fGiS7IRG 1Ao6B/HrrlBkHsV4e88+LwhlnQ6gFbiWgZpbhcTOwG2GQS58FOPZW5vkIzMMM8A/AkC4 w++Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=9j2Emuk745O8kyS64Ds5B7QKtI790AWKGe8Y2NUsAJk=; b=ufHe6ZM/pzyMe1wqohAHzdty+09/s4X35OLw62hZ/0nYgrtisgMmqmg+zxoF4QLOPT 5iI/MFf2TlZK/7N4yHbV04PT1Acty79o2RIVxUW+DL/0qzVpt7ky5Myd6/FtdF2OO+DU Ii/VO6YrCw8Sbi7pzDVB2/2XbEdDys60JOIeWVHDG6+Rna1HjvOcxk2C6vXaC5ndDQpV j8Y+nzlFOgM0hBEv2U4/6o+DY2YgMN9XJC6jByU9Z/ueAFVIfwlRvUQjQxJL+c0ApjNB /5j+HUf4yhdtnFnQ2Q2/TTUSUl1sd2XcBXDsscXgfl5Fv2KB6FhXEsk2BN2bYaYtjohq 19kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CUAXx1h2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x188si4749350pgb.453.2018.04.16.04.46.29; Mon, 16 Apr 2018 04:46:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CUAXx1h2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754359AbeDPJez (ORCPT + 99 others); Mon, 16 Apr 2018 05:34:55 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:45622 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752824AbeDPJex (ORCPT ); Mon, 16 Apr 2018 05:34:53 -0400 Received: by mail-wr0-f195.google.com with SMTP id u11so23998398wri.12; Mon, 16 Apr 2018 02:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9j2Emuk745O8kyS64Ds5B7QKtI790AWKGe8Y2NUsAJk=; b=CUAXx1h2RrU9cqcjyKiTF2ud2k32oPDddcHNykKIAwHOzkRPXgdpiqXSdGY+i2Qq5j 2DvnYHaHOCNNsgyzB0iQ/TofCvgfMLtRO0KyD9Hnccyl+621PnTtCnW3C+ttF1fHzd96 xwxJO2Lkj82BKObLMsZOzJ19phrkoI8qmbZlFVosI+oxLTqy0iRls3UCapy6WzQYesd5 r/sejMxl7aebgovd9darVfaRCp8CR0x42YcLH9qUsjiIE41NM0LzRS/yjeNM6Dc/+aHE VfRAfD5kPlQ1q/CWycmYoozTFQGCJfIcHR1aekikIGeKDMjAxKiGc6PLN1JkIKaIkEX2 eviA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9j2Emuk745O8kyS64Ds5B7QKtI790AWKGe8Y2NUsAJk=; b=MFwptRu/bEBQjgGYyQ38MV0Ea8DvNbqEcprCs/ntPKxewpX4x5+hntm5Vuc5ftkqRw 9T1ybhO4VnuoRAC6EQgVJcPYyR53AtKtO7BV0kT/qKOFe+U9XYmpESLrykboHQcpDeBB ESCqFbCvS8MItDHxklmFHJFNlfe4WxMVblFdputHxW42XWxi3OHz36u2A8iyrOOOCWuV 1jOWosjKISzLoyS2SBw084oMhoZsZYP70/9ceC2blo0Oxo2bOOJbcrDSjQqUu7/eQmYe 7QGAG1Nj0rhaBDK/6tKcpXOdQeBsIu+7MRh64lu3ryLpMAszGpiutqPkB85fY9xd0Zez YC+g== X-Gm-Message-State: ALQs6tCZemMepAyWi0a8y16EPKXRohBC/V3u50jGLJwo2ZNZWIcnv4hP BHdVTh7Y9twgNrTxAqLuF57gQg== X-Received: by 10.28.107.76 with SMTP id g73mr5279799wmc.65.1523871292346; Mon, 16 Apr 2018 02:34:52 -0700 (PDT) Received: from localhost.localdomain (146.187.3.109.rev.sfr.net. [109.3.187.146]) by smtp.gmail.com with ESMTPSA id t6sm2705335wre.32.2018.04.16.02.34.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 02:34:51 -0700 (PDT) From: Romain Izard To: Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , Ludovic Desroches Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, Romain Izard Subject: [PATCH 0/3] Fix an Atmel USBA UDC issue introducted in 4.17-rc1 Date: Mon, 16 Apr 2018 11:34:02 +0200 Message-Id: <20180416093405.16612-1-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The use of GPIO descriptors takes care of inversion flags declared in the device tree. The conversion of the Atmel USBA UDC driver introduced in 4.17-rc1 missed it, and as a result the inversion will not work. In addition, cleanup the code to remove an include left behind after the suppression of the support of platform_data to declare USBA controllers. These changes have not been tested on any hardware, as I do not have a board that needs to use inverted GPIOs. Romain Izard (3): usb: gadget: udc: atmel: GPIO inversion is handled by gpiod usb: gadget: udc: atmel: Remove obsolete include usb: gadget: udc: atmel: Fix indenting drivers/usb/gadget/udc/atmel_usba_udc.c | 22 ++++++++++------------ drivers/usb/gadget/udc/atmel_usba_udc.h | 1 - include/linux/usb/atmel_usba_udc.h | 24 ------------------------ 3 files changed, 10 insertions(+), 37 deletions(-) delete mode 100644 include/linux/usb/atmel_usba_udc.h -- 2.14.1