Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp993445pxa; Wed, 19 Aug 2020 22:49:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLUdUE9E2CPRoWspxALMxdQ0JHpa5DGJW6kFXSR1ncqrJvvKIZIKQ2V8fxZW8j+p8szs2T X-Received: by 2002:a17:907:7204:: with SMTP id dr4mr1687821ejc.258.1597902580638; Wed, 19 Aug 2020 22:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597902580; cv=none; d=google.com; s=arc-20160816; b=zoR4tN9CxSegaP2O55MpjyHSTVbdpb9W5jtFr3oc8lb+aas6j7fTbleGAscM+tTa+c 4+tH1oy1xdkD5XnZ6woLFsLwZAiQPU/9cxPdhBZ3Q/u+Kr3nzYq+4sOTUNIlfeITDepb mGIgqZjmgk5KG9zMq8dDrAZy6IH3gSfP2bM0fvMpdWXGvj+ApQpVOZDbwtomlf4ciy5T K81cbJsteBiN5eOYl5ed243UfR/+NAeb/thgtaRek0Rzb1zMJfPJc4u6VPVM9Y2rpvrq SomGKJ8ttd/K3GM374CPKU1Iihq+UEZDxFdOJH2Tfx9UTKW+V+hsXCWppfH4sdqwY0gS W9yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RHGCbFS08BtdpqCBNesTHixiSpL9QLvoov63r+0u9wo=; b=Vew52JiNcFKh7lg32lzGS9PJjd+ezXwAIOsKtUMgw1D25ugzye349bXfwIdVQJQEFr TuqYV1Q2KxolkC3ftOapCDPkIcCCLkFEVyQWidYQ49IFRDT3OcTfHZdccQCosshJiqq1 6D8aI9ZblJfICsKizJMPNnZbse+KXcMsh2cm3b5jHth79nodIQX3ta03GBgdcnbOQqtV z/o7ViygtJp2UHqiOK4mmIFZMZ+YjjGevGPqtIjko3YDbdKVggySJ6yKOHNoCcAUPlQV hsFaUke2rbJyh0NF1ZeRWPUODFpTHikTHV9NjfWY+EzhXBHLtXp0AxQSjsCjTwFx6AEM M3MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kKfhY7Nm; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si1347ejf.217.2020.08.19.22.49.16; Wed, 19 Aug 2020 22:49:40 -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=@mediatek.com header.s=dk header.b=kKfhY7Nm; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726987AbgHTFsD (ORCPT + 99 others); Thu, 20 Aug 2020 01:48:03 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:5285 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726809AbgHTFrZ (ORCPT ); Thu, 20 Aug 2020 01:47:25 -0400 X-UUID: 631f593925db459b9e59044027e18396-20200820 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=RHGCbFS08BtdpqCBNesTHixiSpL9QLvoov63r+0u9wo=; b=kKfhY7NmnRYAYyluPdU7e5id4e0YgVdLgD8aeN/xVPkupFtioXKH/VnHEflEwWldbH6gHZgcyM9D1fKtXorUO9AJmIbsV6bjVa/Il4Os5qAjBxABncoAFNldJbH+yt0iVJQBuGY9WDxbZ1iM3aIGqXTdYsl0innwHIMlAGT2BqE=; X-UUID: 631f593925db459b9e59044027e18396-20200820 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 42812538; Thu, 20 Aug 2020 13:47:16 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Aug 2020 13:47:15 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 20 Aug 2020 13:47:13 +0800 From: Chunfeng Yun To: Greg Kroah-Hartman CC: Felipe Balbi , Matthias Brugger , Chunfeng Yun , , , , , Lee Jones Subject: [PATCH v2 06/11] usb: fotg210-hcd: convert to readl_poll_timeout_atomic() Date: Thu, 20 Aug 2020 13:45:44 +0800 Message-ID: <1597902349-8998-6-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1597902349-8998-1-git-send-email-chunfeng.yun@mediatek.com> References: <1597902349-8998-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 9BFB2DD1E3BDA123CD88DD4D9DC7D0EFF4F2AFBDA2F62C9A0CBA566532FE42442000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIHJlYWRsX3BvbGxfdGltZW91dF9hdG9taWMoKSB0byBzaW1wbGlmeSBjb2RlDQoNClNpZ25l ZC1vZmYtYnk6IENodW5mZW5nIFl1biA8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