Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp182260pxj; Wed, 9 Jun 2021 20:37:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4ZeDf93wSNf0NfMmHKe7RykhiGRZZTvQCXGB/4InCDBl6+nAKFQ3iHoP/bX9DXyoGdG3o X-Received: by 2002:aa7:dc42:: with SMTP id g2mr2556142edu.362.1623296234702; Wed, 09 Jun 2021 20:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623296234; cv=none; d=google.com; s=arc-20160816; b=kUxicfX2RpS3bakcYh5p2E3Devlv7LSf4Z2WOVff16bfh5mYm/iBEmmW682xw7NdW1 AZ2syR565XcetlwlO4PT5beNsbJ3Jl5rB/dcponKKYDwIZvbxUjSQ2gUstvMiGy0gjcw d5A8VWajkPkHQL+xA2CbqtX9/yc+gOFi41dUNMUKdr7aB8o4TJZHVRXht9p1TCfQix78 F7mttOuDHFFwBXSJZFu2MzOEH9Q6L2cBtrcIbZkCKNkpQ+IgiKWvsJf0RUPkJjqN3XvR hJ25LB5yCV4YgkKgY06CpD8TLWhyoddON8oqtKZydMVl9i8DfGYuc4URA7ZoQxNEt6d4 FJeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xUW1QYivvyjjAgnt50OixHHdXR+qpa5RaoXkpg+0Z1M=; b=MBmlWYWRDN2GHx/xEKzbry5QksLN2Cf4vjomYg7ZI3Vzu1mZDAtthdH7dGta2RdRAF TthDAjSVB0fex29Shlo94DIlIACTPFCCq4It8n+Yrmsi8xdVjdwrrYzS5C5G2wRw2Prs it+doioVeGmD9YCtZ+7A82E42goILqu8Dx2ylVo0uoo7OBPhCPVL52z3U3E2hVyhRwmP P+R2o0k80fSr01sSRs1tsKUcpCBM7IwaR+KRQ9y+l1h5dXnv0G/smPPGNlrXTpjgyU6u p6HXXomN8hSFo1k3Tt3913D5V8ealxm1GxHYu1QvaHlqj+PCI15LTiwylLLwzL+a2mi/ HgdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ckk34yOi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si1326337ejp.248.2021.06.09.20.36.51; Wed, 09 Jun 2021 20:37:14 -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=@chromium.org header.s=google header.b=Ckk34yOi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbhFJDfj (ORCPT + 99 others); Wed, 9 Jun 2021 23:35:39 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:38756 "EHLO mail-pf1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbhFJDfi (ORCPT ); Wed, 9 Jun 2021 23:35:38 -0400 Received: by mail-pf1-f182.google.com with SMTP id z26so442938pfj.5 for ; Wed, 09 Jun 2021 20:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xUW1QYivvyjjAgnt50OixHHdXR+qpa5RaoXkpg+0Z1M=; b=Ckk34yOiLznSSdYmHluvlvw2OSugkHIAcSI40L06ddrl1WVeu9lXyJKAySZr7I/6lx L836XZ32h5BAbCgwQE46EsuxXnQxKGyeSqwD00a0X8Jl9oP+RTO3Mi8P+NnpJGUSpbSN 7UB4hKaHAkMX/VHG9tiyztZzgqJ5TWFOxM0D4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xUW1QYivvyjjAgnt50OixHHdXR+qpa5RaoXkpg+0Z1M=; b=ORXG4VI70u8WMQZ0Fuq776THLkd/ckT1Brj4H/rEFx/i/qgKtS0ASy07h6w+wWJxNj Qw2OJ/bSItQbAiWZenTuH4Aqug6mnSj4r1XJIYpwC+f2My7gGmBzDwIe7H/SDDiIT7zS S4e6YmRM5Y//D+4xJHMXOeeegI94P9Gg8fDIZl/jkiVSkhTxgolnhnaIqU4NGdyAq28x QlzbiEHuC9dqvOqUdJuSKSysS/wnyB786k46qjg0upAC72jFsrV463ioK3w5F2yjnHSk fQVMDe1LjgUvwGxoVizdbKiLcUwZMNn5KdtmvE/7eoctOzpZmOczr2UAwQfwTZBwdTtN UTig== X-Gm-Message-State: AOAM530HNt/hwYFTzwRt4+liH9aqe4/qRdY6H3YOZP8VXgxL5hKEy3iJ k8ZwAFXzx1AvpEANHIthuvQLYHiZZ7GI3Nu2AhotUQ== X-Received: by 2002:a63:5d19:: with SMTP id r25mr2802205pgb.317.1623295948478; Wed, 09 Jun 2021 20:32:28 -0700 (PDT) MIME-Version: 1.0 References: <20210507021127.54717-1-chunfeng.yun@mediatek.com> <20210507021127.54717-2-chunfeng.yun@mediatek.com> In-Reply-To: <20210507021127.54717-2-chunfeng.yun@mediatek.com> From: Ikjoon Jang Date: Thu, 10 Jun 2021 11:32:17 +0800 Message-ID: Subject: Re: [PATCH v3 2/4] usb: xhci-mtk: remove unnecessary setting of has_ippc To: Chunfeng Yun Cc: Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , linux-usb@vger.kernel.org, "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , open list , Eddie Hung , Sergei Shtylyov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 7, 2021 at 10:11 AM Chunfeng Yun wrote: > > Due to @has_ippc's default value is 0, no need set it again if fail > to get ippc base address > > Signed-off-by: Chunfeng Yun Reviewed-and-Tested-by: Ikjoon Jang > --- > v3: new patch suggested by Greg > fix typo suggested by Sergei > --- > drivers/usb/host/xhci-mtk.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c > index b2058b3bc834..2548976bcf05 100644 > --- a/drivers/usb/host/xhci-mtk.c > +++ b/drivers/usb/host/xhci-mtk.c > @@ -495,8 +495,6 @@ static int xhci_mtk_probe(struct platform_device *pdev) > goto put_usb2_hcd; > } > mtk->has_ippc = true; > - } else { > - mtk->has_ippc = false; > } > > device_init_wakeup(dev, true); > -- > 2.18.0 >