Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1865170pxu; Fri, 9 Oct 2020 01:32:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmgYZjMvxFXv+pcnWu6sePKhm2FAICNs0SssUNOiCZ/+KDBxEVtfd6f9265Z4OH3ideZ4u X-Received: by 2002:a17:906:9153:: with SMTP id y19mr12820351ejw.475.1602232328413; Fri, 09 Oct 2020 01:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602232328; cv=none; d=google.com; s=arc-20160816; b=kYuvapYKQCnW1L9qQ1nwQ/Jmh3z6C7Mw1/VGntLpHBtelcLzCu985DyCe13cXGSktj OrQQFqw5xdUVLJaXrX/mSRNzhsthKaTqHkYCGJtuym5+Mu8UpWdWG/+Z98hCzjD6IYcA YxCNBf8/shEgoi+dxZNL5gY1anNDRVZ7mkPysfVVa3PiNmVqUjEz/0Q4pVyxecZNkAP8 q4nsaNmAPHiq7mh2LyXgBMg2+eaCBwhbtjp316+1YgVOhz5WbyMXfuHquvh+8BdWONnX JaYunx/7AghoKODTdcJiT05NmPmifm8BwqwRdUJ+fRJfszxh5B6j3QLuo7fjlf7g1VSw mqlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:sender:dkim-signature; bh=kONjvJS0RvHBNA3ckVrjHd8i1nrVYQN5I4UTud+UJyg=; b=o0h0NCoXK92fwJSs4vbrtfRPF0P2NheHcCwH7bLOwcZKAZnSpXT+Sb2y92OjAcgj9M A5udubFej9wCNwUu1edeXLljxQKibw01u8IqvR6vJW70Ibts+jSXLJPEdzeJYZEJO51+ 0nT5ogaEhM6n8/G3abPLcDW9qV4gAAjuNFXs0f9jw3wFa726uCrJswPnD74ReyGGDiG5 RLX4mGFeJ2IMAL8LYklnlCywIhFrBNtWh5S6pA1cmH22ru3PSUIProa5SraZ7fDaOgOO D5bEC+dMXPrs6jKy4z3aJFGflOMP045dG5nsarQSEfhnNA6SX74rCZ4EYR8XbBmycL1F AWvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=TmsgU4YR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si5528961ejs.437.2020.10.09.01.31.45; Fri, 09 Oct 2020 01:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=TmsgU4YR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732839AbgJII3J (ORCPT + 99 others); Fri, 9 Oct 2020 04:29:09 -0400 Received: from m42-4.mailgun.net ([69.72.42.4]:51401 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732803AbgJII3F (ORCPT ); Fri, 9 Oct 2020 04:29:05 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1602232145; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=kONjvJS0RvHBNA3ckVrjHd8i1nrVYQN5I4UTud+UJyg=; b=TmsgU4YRnOkEmw8zaEfOdikR3ii/9siOjYICx111LgwoY55RFH+tQu/zm1b1XeIl1p794xTL 0rIg14W+n/yfgdNVg88rt6zJ+gGmmHtoDeczY22MAnIvSGuC404/vFTok+WbB+FXTSqjMyaf KnkAxMRoMlspbeLhxdRxlGQaUCA= X-Mailgun-Sending-Ip: 69.72.42.4 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 5f801f4306d81bc48da4f907 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 09 Oct 2020 08:28:51 GMT Sender: wcheng=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 12282C433FF; Fri, 9 Oct 2020 08:28:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from wcheng-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1373EC433BA; Fri, 9 Oct 2020 08:28:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1373EC433BA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=wcheng@codeaurora.org From: Wesley Cheng To: vkoul@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, kishon@ti.com, balbi@kernel.org, gregkh@linuxfoundation.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, jackp@codeaurora.org, Wesley Cheng Subject: [PATCH v2 4/4] usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API Date: Fri, 9 Oct 2020 01:28:43 -0700 Message-Id: <20201009082843.28503-5-wcheng@codeaurora.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201009082843.28503-1-wcheng@codeaurora.org> References: <20201009082843.28503-1-wcheng@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There was an extra character in the dwc3_qcom_vbus_override_enable() function. Removed the extra character. Signed-off-by: Wesley Cheng --- drivers/usb/dwc3/dwc3-qcom.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index 340760ef0e01..236afbfe01d9 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -107,7 +107,7 @@ static inline void dwc3_qcom_clrbits(void __iomem *base, u32 offset, u32 val) readl(base + offset); } -static void dwc3_qcom_vbus_overrride_enable(struct dwc3_qcom *qcom, bool enable) +static void dwc3_qcom_vbus_override_enable(struct dwc3_qcom *qcom, bool enable) { if (enable) { dwc3_qcom_setbits(qcom->qscratch_base, QSCRATCH_SS_PHY_CTRL, @@ -128,7 +128,7 @@ static int dwc3_qcom_vbus_notifier(struct notifier_block *nb, struct dwc3_qcom *qcom = container_of(nb, struct dwc3_qcom, vbus_nb); /* enable vbus override for device mode */ - dwc3_qcom_vbus_overrride_enable(qcom, event); + dwc3_qcom_vbus_override_enable(qcom, event); qcom->mode = event ? USB_DR_MODE_PERIPHERAL : USB_DR_MODE_HOST; return NOTIFY_DONE; @@ -140,7 +140,7 @@ static int dwc3_qcom_host_notifier(struct notifier_block *nb, struct dwc3_qcom *qcom = container_of(nb, struct dwc3_qcom, host_nb); /* disable vbus override in host mode */ - dwc3_qcom_vbus_overrride_enable(qcom, !event); + dwc3_qcom_vbus_override_enable(qcom, !event); qcom->mode = event ? USB_DR_MODE_HOST : USB_DR_MODE_PERIPHERAL; return NOTIFY_DONE; @@ -223,7 +223,7 @@ static int dwc3_qcom_usb_role_switch_set(struct usb_role_switch *sw, qcom->mode = (role == USB_ROLE_HOST) ? USB_DR_MODE_HOST : USB_DR_MODE_PERIPHERAL; - dwc3_qcom_vbus_overrride_enable(qcom, enable); + dwc3_qcom_vbus_override_enable(qcom, enable); return 0; } @@ -750,7 +750,7 @@ static int dwc3_qcom_probe(struct platform_device *pdev) /* enable vbus override for device mode */ if (qcom->mode == USB_DR_MODE_PERIPHERAL) - dwc3_qcom_vbus_overrride_enable(qcom, true); + dwc3_qcom_vbus_override_enable(qcom, true); if (dwc3_qcom_find_usb_connector(pdev)) { ret = dwc3_qcom_setup_role_switch(qcom); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project