Received: by 10.213.65.68 with SMTP id h4csp1732538imn; Mon, 19 Mar 2018 11:44:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELuP8kSg0kBxjrF9EmbEEJuTLtHLA2/Q+PphRiGDEjy9z57f8o+6vVOigXdFjDGoUBRZAQzd X-Received: by 10.101.86.198 with SMTP id w6mr1165323pgs.294.1521485056650; Mon, 19 Mar 2018 11:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521485056; cv=none; d=google.com; s=arc-20160816; b=G6JMTKQUpA26oSqPcpp6ymoj9tpMWC7yWfpgTO7lRNP3p3jjQDyj0zaTCt9SYQpNCc gu/j06xG4pjF9RcXhjKn4PjCX/MjFxh025UpPyHO7dFQsrIR34tGXy+Q7cr98cu5TvAT OHFSgsD+nfi4eGmlnhnSl7yNy5EVUMT84yM7AukSeAFX4xSs82RmneNjtdAeq5aIN2/Z /h5lltExfWxI4fAzavl87fbBdBVibuJzNrBtA6UYPtcv2ldkjx62e2Mbd3NHDnaJbysl BkJjndrauwdz6Isn6ob/UjjW/9SOOnpYkoSpLJpQxzvqs1z0QkQP9t0X3a0ZruPK2CsF zPFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=03mY+PY0cjPvTqrjO8Fo8hV1oPKA86BSxQdl9NqBpi4=; b=i2iwTNNK7ojmlxBxICMp+KUg9uzfCmpm6eLC5uaFdFaS3PqXE9KoAtP6zKmsrQjI1o EZ/lizxigGv7NUYe0hlsXh3rtkXiYqDo4xHD7lS5aMuDITFmRQ9Jt8HpkPq48Y758JWT Is7euio7peW6Xd3gNnfzA8X8tds2EAOuyoUa5tkC5TLDYuTKpcgTGAljM3uAfqtf2hhd S5pCLzINPWPqSlfr4xyrHFn2a7WG/Q4lFcCJtpVsgp5F0pntYtIaMMhoEEig/lBUFNH1 xTvbItn8y8wJ9fVmru/oF4n0wz/35otEfLce9U4GK4mJBMEQb1YSa7ISVWU5bRICtxjg 5uoA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si448052plg.650.2018.03.19.11.44.02; Mon, 19 Mar 2018 11:44:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970467AbeCSSmU (ORCPT + 99 others); Mon, 19 Mar 2018 14:42:20 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54024 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970317AbeCSSci (ORCPT ); Mon, 19 Mar 2018 14:32:38 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 722FD12AD; Mon, 19 Mar 2018 18:32:37 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Amelie Delaunay , Felipe Balbi Subject: [PATCH 4.15 42/52] usb: dwc2: fix STM32F7 USB OTG HS compatible Date: Mon, 19 Mar 2018 19:08:40 +0100 Message-Id: <20180319180737.324794612@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319180734.976730813@linuxfoundation.org> References: <20180319180734.976730813@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Amelie Delaunay commit 1a149e3554e0324a3d551dfb327bdb67b150a320 upstream. This patch fixes compatible for STM32F7 USB OTG HS and consistently rename dw2_set_params function. The v2 former patch [1] had been acked by Paul Young, but v1 was merged. [1] https://patchwork.kernel.org/patch/9925573/ Fixes: d8fae8b93682 ("usb: dwc2: add support for STM32F7xx USB OTG HS") Signed-off-by: Amelie Delaunay Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- drivers/usb/dwc2/params.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -137,7 +137,7 @@ static void dwc2_set_stm32f4x9_fsotg_par p->activate_stm_fs_transceiver = true; } -static void dwc2_set_stm32f7xx_hsotg_params(struct dwc2_hsotg *hsotg) +static void dwc2_set_stm32f7_hsotg_params(struct dwc2_hsotg *hsotg) { struct dwc2_core_params *p = &hsotg->params; @@ -164,8 +164,8 @@ const struct of_device_id dwc2_of_match_ { .compatible = "st,stm32f4x9-fsotg", .data = dwc2_set_stm32f4x9_fsotg_params }, { .compatible = "st,stm32f4x9-hsotg" }, - { .compatible = "st,stm32f7xx-hsotg", - .data = dwc2_set_stm32f7xx_hsotg_params }, + { .compatible = "st,stm32f7-hsotg", + .data = dwc2_set_stm32f7_hsotg_params }, {}, }; MODULE_DEVICE_TABLE(of, dwc2_of_match_table);